date_trunc('hour', now()) : date_trunc « Date Timezone « PostgreSQL






date_trunc('hour', now())


postgres=#
postgres=# SELECT date_trunc('hour', now());
       date_trunc
------------------------
 2006-10-08 15:00:00-07
(1 row)

postgres=#
postgres=#
           
       








Related examples in the same category

1.date_trunc('minute', now())
2.date_trunc('year', now())