note 46150 added to function.mktime
| From: | Surreal at osu1 dot php dot net | Date: | Fri, 01 Oct 2004 00:13:56 +0000 |
| Subject: | note 46150 added to function.mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77638@lists.php.net to get a copy of this message | ||
This is very odd...
I was making a calendar function when I saw this:
mktime(1,1,1,15,10,2003) gives the same result as mktime(1,1,1,3,10,2004)!!!
check with this:
<? if(mktime(1,1,1,15,10,2003) == mktime(1,1,1,3,10,2004))
echo "WHAT in the name of all that is holy!!???"; ?>
Any suggestions on why this is and how to correct it is appreciated. Thanks.
----
Manual Page -- http://www.php.net/manual/en/function.mktime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46150
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46150&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46150&report=yes
Search -- http://master.php.net/manage/user-notes.php