date problem

From: Date: Fri, 16 Aug 2002 09:24:31 +0000
Subject: date problem
Groups: php.general 
Request: Send a blank email to php-general+get-112930@lists.php.net to get a copy of this message
when I place date("h:i a") in a page on my server, and view it in a browser, I am returned: "02:51 pm". According to the server itself, though (logged in through ssh), using "date", it is 3:51. gmdate("h:i a") returns the same 2:51 time. They are both one hour off from the server time. Any ideas of a solution to this? Anyone have a ready-to-use function which can add/subtract an hour or two to/from the date/time? -- Kae Verens http://www.contactjuggling.org/users/kverens/ http://www.contactjuggling.org/ (webmaster)

« previous php.general (#112930) next »