note 11584 deleted from mktime by ronabop
| From: | ronabop@php.net | Date: | Mon, 05 Mar 2001 01:22:05 +0000 |
| Subject: | note 11584 deleted from mktime by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11866@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