Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Time::Local Problem

by physgreg (Scribe)
on Oct 17, 2002 at 10:22 UTC ( #205978=note: print w/replies, xml ) Need Help??


in reply to Time::Local Problem

I think the cause of your problem is trying to calculate the date at midnight, which will get confused by daylight saving time. PHP has the same problem. I got round it by using 12 noon as my base time.

Update: I tested this, and it works if you simply substitute 12 for 0 in every hour field.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2023-12-09 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (38 votes). Check out past polls.

    Notices?