![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: Time::Local Problemby physgreg (Scribe) |
on Oct 17, 2002 at 10:22 UTC ( #205978=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|