note 47084 deleted from function.date by betz
| From: | betz@php.net | Date: | Tue, 02 Nov 2004 12:31:33 +0000 |
| Subject: | note 47084 deleted from function.date by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79497@lists.php.net to get a copy of this message | ||
Note Submitter: chelsi at bk dot ru
----
I think this is the bug of date function... see...
<?
$date = "2004-10-01";
$date2 = "2004-11-11";
for($date1=date("Y-m-d",(strtotime($date)+86400)); $date1 <= $date2;
$date1=date("Y-m-d",(strtotime($date1)+86400)) ){
print($date1."\n");
}
?>
when we are going from 2004-10-31 to 2004-11-01 it's looping
Did anybody solve this problem ?
----
Reason: useless note