Re: [PHP] date() is hours behind

2003-09-30 Thread Curt Zirzow
* Thus wrote PHP Webmaster ([EMAIL PROTECTED]): > > "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

Re: [PHP] date() is hours behind

2003-09-30 Thread PHP Webmaster
"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 GM

Re: [PHP] date() is hours behind

2003-09-30 Thread Jon Kriek
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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] date() is hours behind

2003-09-30 Thread PHP Webmaster
"Jon Kriek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well I meant just > > putenv('TZ=US/Eastern'); > > But you get the idea. > > -- > Jon Kriek > http://phpfreaks.com > > "Jon Kriek" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > See the putenv() function.

Re: [PHP] date() is hours behind

2003-09-29 Thread Jon Kriek
Well I meant just putenv('TZ=US/Eastern'); But you get the idea. -- Jon Kriek http://phpfreaks.com "Jon Kriek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > See the putenv() function. For example to get the correct Eastern Standard > Time > > http://www.php.net/putenv > >

Re: [PHP] date() is hours behind

2003-09-29 Thread Jon Kriek
See the putenv() function. For example to get the correct Eastern Standard Time http://www.php.net/putenv -- Jon Kriek http://phpfreaks.com "Php Webmaster" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I currently use: > > date("l jS F Y, g:i A"); > > To format the

RE: [PHP] date() is hours behind

2003-09-29 Thread Vail, Warren
Sounds like your server is set to GMT, that is, if you are located in PDT timezone. Warren Vail -Original Message- From: PHP Webmaster [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 4:23 PM To: [EMAIL PROTECTED] Subject: [PHP] date() is hours behind Hi all, I currently use: