Answers for "unix timestamp mysql convert"

SQL
2

mysql unix timestamp to date

SELECT FROM_UNIXTIME(1447430881); 
	# 2015-11-13 10:08:01
SELECT FROM_UNIXTIME(1632406597); 
	# 2021-09-23 16:16:37
SELECT FROM_UNIXTIME(1447430881,'%Y %D %M %h:%i:%s %x'); 
	# 2015 13th November 10:08:01 2015
Posted by: Guest on September-23-2021
2

mysql convert timestamp to date

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

%H:%i:%s
Posted by: Guest on March-23-2021

Code answers related to "unix timestamp mysql convert"

Code answers related to "SQL"

Browse Popular Code Answers by Language