3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $gmt = (new \DateTime('today', new \DateTimeZone('GMT'))); $dt = (new \DateTime('today')); echo $dt->getTimestamp().' || '.$gmt->getTimestamp();;
Output for 5.6.0 - 7.3.0alpha1
1479337200 || 1479340800