Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres extract time from timestamp

select cast(timestamp '2014-04-03 12:34:00' as time)
-- equivalent to
select '2014-04-03 12:34:00'::time
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #postgres #extract #time #timestamp
ADD COMMENT
Topic
Name
7+9 =