3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ts = 1479596486; $date = new \DateTime(); $date->setTimezone(new \DateTimeZone("UTC")); $date->setTimestamp($ts); echo $date->format('Y/m/d H:i:s');
based on t0eYC
Output for 5.6.0 - 7.3.0alpha1
2016/11/19 23:01:26