On Thu, Mar 01, 2007 at 03:16:08PM -0800, Fargusson.Alan wrote:
> How do you test today to see that the time change will occur at 2:00 AM on 
> March 11?

[EMAIL PROTECTED] ~]$ date -d '2007-03-11 03:00:00'
Sun Mar 11 03:00:00 CDT 2007


Note, the date '2007-03-11 02:00' doesn't exist in a timezone observing US
DST, and date makes note of that:

[EMAIL PROTECTED] ~]$ date -d '2007-03-11 02:00:00'
date: invalid date `2007-03-11 02:00:00'


[EMAIL PROTECTED] ~]$ date -d '2007-03-11 01:59:59'
Sun Mar 11 01:59:59 CST 2007



I recommend this over the zdump test, as the ACTUAL system is exercised,
rather than dumping the data from a file that may not be used.

Finally, remember this is all about timezone display, the actual time in UTC
does NOT change!

--
Bill Carlson
--
Systems Administrator [EMAIL PROTECTED]  | Anything is possible,
HCIS                                          | given time and money.
University of Iowa Hospitals and Clinics      |
Opinions are mine, not my employer's.         |

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to