3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $epoch = 1483228800; echo date('r', $epoch) . PHP_EOL; // output as RFC 2822 date - returns local time echo gmdate('r', $epoch);
based on OPa9T