Answers for "cast timestamp mysql"

SQL
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
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 "SQL"

Browse Popular Code Answers by Language