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 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php