public formatDateTime ( DateTimeInterface $dateTime, |
||
$dateTime | DateTimeInterface | PHP object representing particular point in time |
$locale | ||
$formatLength | string | One of DatesReader FORMAT_LENGTH constants |
Результат | string | Formatted date and time |