Y
Hacker News
new
|
ask
|
show
|
jobs
by
castorp
1638 days ago
The "distance" between two dates seems quite useful. In Postgres there is no need for a datediff() function - you would just subtract the two dates: date '2021-01-01' - date '2020-12-31'