note 16706 added to function.strtotime
| From: | malcontent at usa dot com | Date: | Fri, 09 Nov 2001 16:53:03 +0000 |
| Subject: | note 16706 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20641@lists.php.net to get a copy of this message | ||
Be careful when using this function. On my system (linux, php4.06) if fails to recognize two digit
years such as 03/26/65. It works for 3/26/1965 so four digit years work fine.
This one bit me hard.
BTW anytime it does not recognize the date it the formatted output looks like this Dec-31-1969.
--
http://www.php.net/manual/en/function.strtotime.php
http://master.php.net/manage/user-notes.php?action=edit+16706
http://master.php.net/manage/user-notes.php?action=delete+16706
http://master.php.net/manage/user-notes.php?action=reject+16706