note 39539 deleted from function.date by irchtml
| From: | irchtml@php.net | Date: | Wed, 25 Feb 2004 14:17:06 +0000 |
| Subject: | note 39539 deleted from function.date by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65719@lists.php.net to get a copy of this message | ||
Note Submitter: henk_vanlier@hotmail.com
----
@ monitio:
What does your script return on the 7th of May this year?
And on the 14th of May?
Should both be 19, but I doubt it...
I think you should change the first line of your function to this:
if (date("m") > $m || (date("m") == $m && date("d") >=
$d))