3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$num = (string)float(1410948122721); //echo number_format($num,0,'.',''); //$seconds = $mil / 1000; //echo gmdate("Y-m-d H:i:s", $seconds); $timestamp=1410948122721; echo gmdate("Y-m-d\TH:i:s\Z", $timestamp);
based on HnuXi
Output for 4.3.0 - 7.1.0
46681-03-02T02:05:21Z