3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "datetime: " . date('Y-m-d H:i:s'); $conv_time = date('Y-m-d H:i:s', 32400); echo "datetime with offset: " . $conv_time;
based on Bcu0a
Output for 5.5.0 - 5.6.11, 5.6.13 - 7.2.0
datetime: 2016-01-07 22:18:57datetime with offset: 1970-01-01 10:00:00
Output for 5.6.12
datetime: 2016-01-07 22:18:58datetime with offset: 1970-01-01 10:00:00