3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //echo time(); // 1413299863 $timestamp=1410948122721; $seconds = $timestamp / 1000; echo date("Y-m-d H:i:s", $seconds);
based on F84ri
Output for 4.3.0 - 7.1.0
2014-09-17 12:02:02