Pinboard
recent
‧
popular
‧
tour
‧
howto
log in
back to notes
Posgres SQL: Current Date at midnight
SELECT date_trunc('day', now());
;; date_trunc | 2018-11-26 00:00:00+00
last updated november 2018