note 113746 added to function.date-create
| From: | Andrew | Date: | Mon, 25 Nov 2013 11:55:32 +0000 |
| Subject: | note 113746 added to function.date-create | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197633@lists.php.net to get a copy of this message | ||
Indeed as mentioned above the constructor for DateTime will allow the day of month upto 31 to be
accepted for all months of the year. You should use checkdate if you wish to check that the day of
the month represents a valid gregorian calendar date.
----
Server IP: 64.71.164.2
Probable Submitter: 82.41.94.104
----
Manual Page -- http://php.net/manual/en/function.date-create.php
Edit -- https://master.php.net/note/edit/113746
Del: integrated -- https://master.php.net/note/delete/113746/integrated
Del: useless -- https://master.php.net/note/delete/113746/useless
Del: bad code -- https://master.php.net/note/delete/113746/bad+code
Del: spam -- https://master.php.net/note/delete/113746/spam
Del: non-english -- https://master.php.net/note/delete/113746/non-english
Del: in docs -- https://master.php.net/note/delete/113746/in+docs
Del: other reasons-- https://master.php.net/note/delete/113746
Reject -- https://master.php.net/note/reject/113746
Search -- https://master.php.net/manage/user-notes.php