3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d H:i:s', strtotime(1412207700)); echo "\r\n"; echo date('Y-m-d H:i:s', strtotime('today', 1412207700));
based on RgmUZ
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1970-01-01 01:00:00 2014-10-02 00:00:00
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5
141226-04-30 00:00:00 2014-10-02 01:55:00
Output for 5.0.0 - 5.0.2
141226-04-30 00:00:00 2014-10-02 00:00:00