3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $closeTime = 1427207997; //$dt = new \DateTime($closeTime); //$timestamp = $dt->format("Y-m-d") . 'T' . $dt->format("H:i:s"); //echo $timestamp; echo date("Y-m-d H:i:s", $closeTime);
based on ciYKT
Output for 4.3.0 - 7.2.0
2015-03-24 15:39:57