3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $utc_offset = 946684800; $minutes = 59; $prc_str = "1AF44B00"; $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 cO817
Output for 4.3.0 - 7.1.0
452217600 1984-05-01 00:00:00 1398905940 2014-05-01 00:59:00