Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code

by jbert (Priest)
on Jan 07, 2007 at 17:25 UTC ( [id://593409]=note: print w/replies, xml ) Need Help??


in reply to Re: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code
in thread Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code

Another good reason to do everything in UTC.

Absolutely. Like encoding characters as bytes, representing time (stored as time_t or UTC strings) in user-readable format is a user-interface issue (ditto for input).

Normalise data to a canonical form at all the boundaries on input (and convert back to local settings on output) and a whole class of worries just go away.

Just be sure that you conversions aren't lossy :-)

  • Comment on Re^2: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://593409]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found