Re: PHP / Date / Timezone

by "Gary Krockover" <gary(at)garykrockover.com>

 Date:  Tue, 4 Jun 2002 06:44:21 -0500
 To:  <hwg-techniques(at)hwg.org>
 References:  upwebmaestro
  todo: View Thread, Original
Not a PHP guru, but can't you take the time returned from the server and
using a simple math (function) add an hour to it?

GK



> I can't seem to find on the PHP web site (or through a web search)
> anything related to just adjusting the time returned from date() to
> match a particular time zone. I'm in one zone, the server's in
> another. I'd *like* to be able to move up the time/date by an hour.
> I'm finding lots of complicated date comparison techniques and so-on,
> but nothing about adjusting for time zone.
>
> Help?
>
> ~ The U.P. Web Maestro (Nathan Lyle)
>
>   E-Mail: nathan(at)upwebmaestro.com
>   Online: www.upwebmaestro.com
>    Phone: (906)485-4806
>
> "Fixing Unix is easier than living with NT." - Jonathan Gilpin
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA