Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql convert timestamp to date

 DATE_FORMAT(FROM_UNIXTIME(`timestamp`), '%Y-%m-%d') AS 'send_date',

%H:%i:%s
 
PREVIOUS NEXT
Tagged: #mysql #convert #timestamp #date
ADD COMMENT
Topic
Name
2+1 =