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