Thanks All,

I think I figured it out, what is important to understand is that you
can't choose EST, you must choose a country/city for the function to
adjust for DST automatically.  My question was probably too simple for
you to give me this solution but I did figure it out.  Does that make
sense to you?

-Tim

On 3/12/08, Dave Rolsky <[EMAIL PROTECTED]> wrote:
> On Wed, 12 Mar 2008, Rick Measham wrote:
>
> > printf( "%s%02d%02d",
> >       $dt->offset >= 0 ? '+' : '-',
> >       int($dt->offset / 60 / 60),
> >       ($dt->offset / 60) % 60
> > );
>
> or better yet ...
>
>   print DateTime::TimeZone->offset_as_string($offset)
>
>
> -dave
>
>
> /*==========================
> VegGuide.Org
> Your guide to all that's veg
> ==========================*/
>

Reply via email to