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:

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 ideas appreciated.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to