Zend\I18n\View\Helper\DateFormat::__invoke
Format a date
Signature
public function __invoke(DateTime|int|array
$date,
[int
$dateType = IntlDateFormatter::NONE,
[int
$timeType = IntlDateFormatter::NONE,
[string
$locale = null,
[string|null
$pattern = null]]]] )
Parameters
$date
— object
$dateType
— int$timeType
— int$locale
— string$pattern
— object
Returns
- string