3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $utc_offset = 946684800; $minutes = 59; $prc_str = "1AFE9D39"; $t = base_convert($prc_str,16,10); echo $t." ".gmdate("Y-m-d H:i:s", $t)."\r\n"; $t = $t + $utc_offset + $minutes*60; echo $t." ".gmdate("Y-m-d H:i:s", $t)."\r\n"; ?>
based on 02aEh
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
452894009 1984-05-08 19:53:29 1399582349 2014-05-08 20:52:29