in reply to Re: Re: Re: Date
in thread How to find yesterdays date (was: Date)
If I'm wrong, please set me straight.
Updated:
I wasn't 100% sure I was right, so I did a bit of research and an experiment with Time::Local. At least in most of the U.S. (there are exceptions, dammit), we do the daylight savings switch by either repeating 1-2am on the first Sunday of April, by by skipping from 1:59:59 to 3:00:00am on the last Sunday of October. In either case, it's save to subtract 24 hours from the current time for the purposes of determining the previous date.
Nope, I was right the first time.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: Date
by Anonymous Monk on Mar 12, 2001 at 05:31 UTC |