Stefan, When you say you set it to GMT+13, did you mean that in a literal sense?
Take a look at: http://nz.php.net/manual/en/timezones.others.php After looking at the comment at the bottom of the page, it looks as though you are after 'Etc/GMT-13', so date_default_timezone_set('Etc/GMT-13'); Hope that helps. Thanks, Nathan http://www.kennedytechnology.com Telerobotics Project: http://control.kennedytechnology.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Stefan Schulz Sent: Saturday, 3 October 2009 10:03 p.m. To: [email protected] Subject: [phpug] Re: problem with daylight saving? > The version of PHP running on that server doesn't have an up to date > time zone database (remember, New Zealand's DST start/end times were > changed recently). You can either upgrade your PHP version or install > the PECL timezonedb extension. > You are all correct - I knew I had overlooked the obvious... BUT It seems that Ubuntu has ditched the feisty archives - no easy upgrade. This box is going to be updated to the latest version and a new hardware hopefully within a few weeks, so I thought rightyho I simply set the timezone temporarily to GMT+13. Any idea why this does not change anything? Even better: No matter what I put into the date_default_timezone_set() call or the default timezone setting in php.ini the program's output does not change a bit? Cheers Stefan --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
