ID: 9966
Updated by: jah
Old-Status: Open
Status: Closed
Bug Type: Date/time related
Assigned To: 

You have just discovered daylight savings time...

Previous Comments:

[2001-03-24 04:44:12] [EMAIL PROTECTED]
I made a script that loops through a week ahead (starting from 19 of March 2001 and 
includind the week of 19-25 of March 2001) and reads the data from a database 
according to the date. I've noticed the '2001-03-24' is returned twice using the 
following script:

for($i = 0; $i < 6; $i++)
   $next_date = date("Y-m-d", mktime(0,0,0,date("m"),date("d")+$i,date("Y")));
   print $next_date;

The script returns the same date with PHP 4.0.4 on IIS and Apache for Windows.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to