Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-08-13 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?