$date->formatWithHandler()
Formats the datetime value with a custom handler or with the globally configured one
Parameters
Name | Type | Default | Description |
---|---|---|---|
$format | IntlDateFormatter |string |null |
null |
|
$handler | string |null |
null |
Custom date handler or null for the globally configured one |
Return type
string
|int
|false