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. For example to get
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,
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
* 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 message
news:[EMAIL PROTECTED]
Hi all,
I currently use:
date(l jS F Y, g:i A);
To format the current date/time to my personal preference.
However, at 12:19 AM on my machine, date(l jS F Y, g:i A); shows 4:19PM...
8 hours slow :(
Any ideas on how to correct this? Am I right in saying that there is a
timezone problem?
Any
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
See the putenv() function. For example to get the correct Eastern Standard
Time
http://www.php.net/putenv
?php
putenv('TZ=US/Eastern');
echo 'Last modified: ' . date('d/m/y H:i', getlastmod());
?
--
Jon Kriek
http://phpfreaks.com
Php Webmaster [EMAIL PROTECTED] wrote in message
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
?php
8 matches
Mail list logo