Zend\Validator\Date::convertToDateTime
Attempts to convert an int, string, or array to a DateTime object
Signature
protected function convertToDateTime(string|int|array
$param,
[bool
$addErrors = true] )
Parameters
$param
— object
$addErrors
— object
Returns
- bool|DateTime