Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

datetrunc

SELECT DATE_TRUNC('hour', TIMESTAMP '2017-03-17 02:09:30');
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #datetrunc
ADD COMMENT
Topic
Name
6+8 =