3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $timezone = 'America/Los_Angeles'; $midnight = strtotime('midnight tomorrow' . $timezone); echo('Pacific Midnight + 1: ' . date('c', $midnight + 60));
based on 2GcYa
Output for 5.1.0 - 7.2.0
Pacific Midnight + 1: 2015-04-10T09:01:00+02:00
Output for 5.0.0 - 5.0.5
Pacific Midnight + 1: 1970-01-01T01:00:59+01:00
Output for 4.3.0 - 4.4.9
Pacific Midnight + 1: c