Convert::date
Usage
string Convert::date(DateTime | string $date, [ bool $add_time = false ])Description
Format dateParameters
Parameter | Required | Type | Description |
---|---|---|---|
$date | Yes | DateTime | string | |
$add_time | No | bool | Whether or not to include time with the result. |