How do you find when the next switch into/out of Daylight Saving Time
will occur on a UNIX box ?
Sent via Deja.com http://www.deja.com/
Before you buy.
Does anyone have a shell script which can be used to determine the date on
which the shift between standard time and daylight time will occur? What I
want to be able to do is run the script and have it return a default
machine-readable date (i.e. YYYYMMDD) of the date that the shift will occur
with an optional switch which will return the number of days until the next
shift occurs. Thus, if it is run on the Sunday that occurs just one week
prior to the shift the return value will be 7. If it is run on the day that
the shift occurs it would return approximately 180 days.