3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fmtRo = new IntlDateFormatter( 'ro_RO', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Europe/Bucharest', IntlDateFormatter::GREGORIAN, "dd MMM y, hh:mm" ); echo $fmtRo->format(time()); echo PHP_EOL; $fmtEn = new IntlDateFormatter( 'en_EN', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Europe/Bucharest', IntlDateFormatter::GREGORIAN, "dd LLL y, hh:mm" ); echo $fmtEn->format(time()); echo PHP_EOL; echo date ("d M Y, H:i");
based on VMJOW