develooper Front page | perl.datetime | Postings from February 2006

Re: Daylight Saving

Thread Previous | Thread Next
From:
Bill Moseley
Date:
February 9, 2006 12:13
Subject:
Re: Daylight Saving
Message ID:
20060209200542.GB3391@hank.org
On Fri, Jan 20, 2006 at 07:26:16AM -0800, Bill Moseley wrote:
> I have a zipcode table that lists the city, state, timezone offset
> (eg -5) and a flag indicating if the location uses daylight saving
> time for U.S. zipcodes.  I don't have the Olson name in the table.
> 
> How do I set the timezone in this case -- taking into
> account the dst settings?

I kind of left this hanging.

Is it possible to set a timezone on a DateTime object based on only
the above information?  Seems like one would need to know more (such
as when Daylight Saving is in effect for that location.  But, if so,
could I see an example?

Thanks,

-- 
Bill Moseley
moseley@hank.org


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About