Symfony\Component\Intl\DateFormatter\IntlDateFormatter::format
Format the date/time value (timestamp) as a string
Signature
public function format(DateTime
$timestamp )
Parameters
$timestamp
— object- The timestamp to format. \DateTime objects
are supported as of PHP 5.3.4.
Returns
- string|Boolean
- The formatted value or false if formatting failed.
Errors/Exceptions
-
MethodArgumentValueNotImplementedException
- If one of the formatting characters is not implemented