3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $timestamp_deb = '1506283200000'; $b = ($timestamp_deb/1000) + 79200; $datedeb = date('Y-m-d H:i:s', $timestamp_deb/1000); $datefin = date('Y-m-d H:i:s', $b); echo $datefin;
based on P9mPs
Output for 5.6.0 - 5.6.30, hhvm-3.18.4 - 3.21.0, 7.0.0 - 7.2.6
2017-09-25 20:00:00