"Jon Kriek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > putenv('TZ=Europe/London'); > > OR > > putenv('TZ=GMT'); > > -- > Jon Kriek > http://phpfreaks.com > > "Php Webmaster" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I'm in London and and my timezone is GMT, so what should I use?
OK, using the putenv code you posted, I now have: <?php putenv('TZ=Europe/London'); echo date("l jS F Y, g:i A, T"); ?> Which displays: Wednesday 1st October 2003, 1:19 AM, BST The time and date is correct (thankgod!) but how comes the time zone is BST (?) and not GMT? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php