Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Date::Manip and daylight savings

by sparkyichi (Deacon)
on Nov 07, 2011 at 17:30 UTC ( [id://936547]=note: print w/replies, xml ) Need Help??


in reply to Date::Manip and daylight savings

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^2: Date::Manip and daylight savings
by SBECK (Chaplain) on Nov 07, 2011 at 18:09 UTC

    You could do that (look for a reliable source of timezone data) of course... but it's already been done twice: Date::Manip and DateTime. I wouldn't suggest that as a good idea to anyone not interested in the timezone problem itself.

    There ARE perfectly valid reasons to reinvent this wheel (after all, I did just that with Date::Manip) but they are mostly about trying to improve the wheel, or learning how the wheel works. If that's you're level of interest... by all means, write your own timezone code. If you're not interested in the wheel itself (just need to use the data)... use one of the existing modules. The rules for Daylight Saving are way too complicated to do it yourself.

    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found