<?php $date = new DateTime(null, new DateTimeZone('Europe/London')); $france = new \IntlDateFormatter( 'fr_FR', \IntlDateFormatter::NONE, \IntlDateFormatter::NONE, $date->getTimezone() ); $uk = new \IntlDateFormatter( 'en_GB', \IntlDateFormatter::NONE, \IntlDateFormatter::NONE, $date->getTimezone() ); $us = new \IntlDateFormatter( 'en_US', \IntlDateFormatter::NONE, \IntlDateFormatter::NONE, $date->getTimezone() ); echo $france->format($date) . PHP_EOL; echo $uk->format($date) . PHP_EOL; echo $us->format($date) . PHP_EOL; echo $date->format('F j, Y, g:i a');
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`