note 41751 added to function.mktime
| From: | noone at nowhere dot com | Date: | Wed, 21 Apr 2004 15:38:30 +0000 |
| Subject: | note 41751 added to function.mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68452@lists.php.net to get a copy of this message | ||
i'm not sure if anyone else noticed but, this function sometimes behaves oddly.
here's what i saw:
mktime(0, 0, 0, 02, 9, 2004);
outputs: 1076302800
but,
mktime(0, 0, 0, 02, 09, 2004);
outputs: 1075525200
which is the same as
mktime(0, 0, 0, 02, 0, 2004);
i didn't think the numbers 0 and 09 were the same.
guess i was wrong?!?!?
----
Manual Page -- http://www.php.net/manual/en/function.mktime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41751
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41751&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41751&report=yes
Search -- http://master.php.net/manage/user-notes.php