bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

possible bug in setting the timezone


From: Glenn Silverstein
Subject: possible bug in setting the timezone
Date: Thu, 09 Nov 2000 16:02:51 -0600

I am not sure if this is a bug or my misunderstanding of how
to use the date command, but my machine is stuck in the the CST
time zone (I am in the EST time zone). I have listed a few of
the numerous attempts that have failed. Can you tell me the
correct way to set the time zone?

  Thanks.

    Glenn Silverstein
    Email: address@hidden


address@hidden silverst]# date -s "Thu Nov  9 16:56:39 EST 2000" 
Thu Nov  9 15:56:39 CST 2000
address@hidden silverst]# date -s "Thu Nov  9 16:56:39 EST 2000" +"%ZEST"
CSTEST
address@hidden silverst]# date
Thu Nov  9 15:56:41 CST 2000
address@hidden silverst]# date -s "Thu Nov  9 16:58:00 EST 2000" +"%Z"EST
CSTEST
address@hidden silverst]# date
Thu Nov  9 15:58:02 CST 2000
address@hidden silverst]# date +"%ZEST"
CSTEST
address@hidden silverst]# date
Thu Nov  9 15:58:29 CST 2000
address@hidden silverst]# date -s "Thu Nov  9 17:00:00 EST 2000" +"%EST"
%EST
address@hidden silverst]# date
Thu Nov  9 16:00:02 CST 2000



reply via email to

[Prev in Thread] Current Thread [Next in Thread]