3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d = new \DateTime('00:00:00', new \DateTimeZone('+0300')); $d1 = (clone $d)->setDateTimeZone(\DateTimeZone('UTC'))); echo $d->format('Y-m-d H:i:s') . PHP_EOL; echo $d1->format('Y-m-d H:i:s');