Note Submitter: Bill
----
Note the month argument in each of the three examples:
A: date("Y-m-d H:i:s", mktime(5, 47, 23, 1, 30,
2006)) returns 2006-01-30 05:47:23 = correct!
B: date("Y-m-d H:i:s", mktime(5, 47, 23, 2, 30,
2006)) returns 2006-03-02 05:47:23 = incorrect!
C: date("Y-m-d H:i:s", mktime(5, 47, 23, 3, 30,
2006)) returns
2006-03-30 05:47:23 = correct!
mktime() doesn't work.
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|