On 15 Nov 2011 at 22:34, Geoff Shang <geoff@xxxxxxxxxxxxxxx> wrote: > The bug is that if a server's timezone is set to Europe/London and you > don't set an explicit timezone in your script, if it's winter time in > the UK, PHP thinks the timezone is UTC instead of Europe/London. I find I need to do this: date_default_timezone_set (@date_default_timezone_get ()); in all my scripts since 5.x.x to avoid rude messages. -- Cheers -- Tim
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php