Str::date()
Convert timestamp to date string according to locale settings
Parameters
Name | Type | Default | Description |
---|---|---|---|
$time | int |null |
null |
|
$format | IntlDateFormatter |string |null |
null |
|
$handler | string |null |
null |
Custom date handler or null for the globally configured one |
Return type
string
|int
|false