3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = strtotime('first Sunday of October +2 hours', 1428220800); print $var; echo "\n" . date("Y-m-d\TH:i:s", 1443916800);
based on qnPRv
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1443916800 2015-10-04T02:00:00
Output for 5.1.0 - 5.2.17
2015-10-04T02:00:00
Output for 4.3.0 - 5.0.5
-1 2015-10-04T02:00:00