RE: [PHP] date() is hours behind
| From: | Vail, Warren | Date: | Tue, 30 Sep 2003 00:52:18 +0000 |
| Subject: | RE: [PHP] date() is hours behind | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-164324@lists.php.net to get a copy of this message | ||
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:phpwadmin@phpwebmaster.co.uk]
Sent: Monday, September 29, 2003 4:23 PM
To: php-general@lists.php.net
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