Answers for "unix timestamp to mysql timestamp"

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
4

mysql timestamp to date

-- Use the FROM_UNIXTIME() function in MySQL
select from_unixtime(timestamp) from my_tbl;
Posted by: Guest on October-14-2020

Code answers related to "unix timestamp to mysql timestamp"

Code answers related to "SQL"

Browse Popular Code Answers by Language