The timestamp has microseconds, so delete it first.
<?php
$timestamp = 1480550400000+0000;
$timestamp = intval($timestamp/1000);
$date = date("Y/m/d", $timestamp);
echo $date;
conclusion: check out the live demo .
ei@localhost:~$ php test.php
2016/12/01
source
share