date() is hours behind

From: Date: Mon, 29 Sep 2003 23:22:38 +0000
Subject: date() is hours behind
Groups: php.general 
Request: Send a blank email to php-general+get-164323@lists.php.net to get a copy of this message
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.

« previous php.general (#164323) next »