note 11584 added to mktime
| From: | ckater at gwdg dot de | Date: | Mon, 26 Feb 2001 12:46:32 +0000 |
| Subject: | note 11584 added to mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11604@lists.php.net to get a copy of this message | ||
There's a bug in the mktime functiion!!
Try these two commands, which looks very similar to each other:
mktime (23,59,59,09,30,01)
mktime (23,59,59,9,30,01)
The first line will put back the timestamp 978217198. This timestamp isn't correct, the correct
time have to be 1001887198, that's exact the value, the second line will give back.
I tested this on two linux machines and the results are equal.
Ist it a bug or a feature? *g
http://www.php.net/manual/en/function.mktime.php