Re: date problem

From: Date: Fri, 16 Aug 2002 09:54:39 +0000
Subject: Re: date problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-112935@lists.php.net to get a copy of this message
On Friday 16 August 2002 17:24, Kae Verens wrote: > 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? mktime() -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Since a politician never believes what he says, he is surprised when others believe him. -- Charles DeGaulle */

« previous php.general (#112935) next »