Unix timestamp handling in php and mysql December 14, 2018 in MySql, News, Php, Tips and Tricks Unix timestamp handling in php and mysql In Mysql SELECT from_unixtime(last_login_date) FROM `user` LIMIT 50 In Php echo time(); echo strtotime($date[0]).”<br>”; echo date(‘m/d/Y’, 1535104800);