Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres extract date from timestamp

SELECT DATE(SUBSTRING('2018-07-25 10:30:30' FROM 1 FOR 10));
Source by tableplus.com #
 
PREVIOUS NEXT
Tagged: #postgres #extract #date #timestamp
ADD COMMENT
Topic
Name
4+6 =