note 37443 added to function.strtotime
| From: | admin at digit-1 dot com | Date: | Sat, 15 Nov 2003 10:08:03 +0000 |
| Subject: | note 37443 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60413@lists.php.net to get a copy of this message | ||
I'm writing a date validation script..
PostGreSQL date formats are: year-month-day
strtodate needs a parameter for not automatically calculating the next year, for example if you
enter strtodate("2002-13-31") the function returns a timestamp with the year 2003 instead
of returning -1...
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37443
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37443&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37443&report=yes
Search -- http://master.php.net/manage/user-notes.php