note 54289 deleted from function.mktime by derick
| From: | derick@php.net | Date: | Sun, 24 Sep 2006 11:58:37 +0000 |
| Subject: | note 54289 deleted from function.mktime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-117509@lists.php.net to get a copy of this message | ||
Note Submitter: ceo at diveintojens dot org
----
Quote by Matt... Just a note: If month has a zero before it (IE '03'), mktime will not
like it and give you an output of -1
Solution: Use (int)$month instead of $month
Best regards,
Jens Rybacke