From: Paul S. <pa...@sm...> - 2005-01-30 22:52:54
|
Hi All, As per my previous post to ilohamail-devel, I've done some testing on my machine (OS/2 v4.5, PHP 4.3.9, Apache2 2.0.52) and changing the line: =20 $server_tz =3D (int)date("Z") =20 to =20 $server_tz =3D (int)date("Z")-(int)date("I")*60*60; =20 helps eradicate a 1 hr discrepancy in the datestamp in message headers during summertime. =20 Curious if this is a problem for others as well - on OS/2 (int)date("Z") appears to return the number of seconds to zulu time NOT including the daylight savings offset. =20 (int)date("I) returns 1 is the system is in daylight savings or 0 if it isn't - hence a 3600 second offset during daylight savings or 0 if not. =20 Can others test the behaviour on other systems/operating systems? =20 Cheers, =20 Paul. |