Zend\Validator\Date::convertString
Attempts to convert a string into a DateTime object
Signature
protected function convertString(string
$value,
[bool
$addErrors = true] )
Parameters
$value
— string$addErrors
— object
Returns
- bool|DateTime