You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
`Zend\Validator\Date` also supports custom date formats. When you want to
27
27
validate such a date, use the `format` option. This option accepts any format
28
-
allowed by the PHP [date()](http://php.net/date) function.
28
+
allowed by the PHP [DateTime::createFromFormat()](http://php.net/manual/en/datetime.createfromformat.php#refsect1-datetime.createfromformat-parameters) method.
29
29
30
30
```php
31
31
$validator = new Zend\Validator\Date(['format' => 'Y']);
0 commit comments