Re: Date goes back to Daylight time



On 23 Nov 2006, in the Usenet newsgroup comp.os.linux.misc, in article
<1164303220.039407.196200@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Jim Nathan wrote:

I'm still running an older kernel of Redhat and since the change back
to standard time, whenever I reboot, the time reverts to daylight time
(1 hr later); I have to manually reset it to the right time. In the
/etc/sysconfig/clock file the settings are UTC=false, ARC=false. Do I
need to change these or something else? What about the 'clock -s'
command? Thanks for helping.

]NNTP-Posting-Host: 24.55.215.31

Well, that looks like Southern California. So what is your time zone set
to? Depending on the age of your Red Hat distribution, the time zone was
set by a link name /etc/localtime

[keyhole ~]$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 32 Apr 17 1999 /etc/localtime ->
../usr/share/zoneinfo/US/Arizona
[keyhole ~]$

Later versions of _Red Hat_ used a tool called 'redhat-config-date', while
Fedora used a similar tool 'system-config-date' to set the right timezone.
If you actually are in Southern California, the correct zonetime is
'America/Los_Angeles'. I'm near Phoenix with the CMOS clock set to
UTC, so time data looks like this:

[compton ~]$ date ; date -u ; /sbin/hwclock --show
Thu Nov 23 13:04:27 MST 2006
Thu Nov 23 20:04:27 UTC 2006
Thu Nov 23 20:04:28 2006 -0.121384 seconds
[compton ~]$

Old guy

.



Relevant Pages

  • Re: Question about ISO8601 vs. strftime()
    ... online references to ISO8601 just get it wrong? ... that link only shows the form with the UTC ... but not the offset as far as I can tell. ... assumed to be in some local time zone. ...
    (comp.programming)
  • Re: Insurgents Intercept Drone Video in King-Size Security Breach (Updated, with Video) [PING BB
    ... opposition to Bear Bottoms's motion to modify THE PRELIMINARY ... So noted by the Federal Court of Usenet Justice proceeding preliminary declaration, ... First the time is set to UTC which is an international time zone based on GMT. ...
    (alt.2600)
  • Re: Time Zones as politics
    ... be in a different time zone from his arch-rival, ... we are not permitted to criticize him in any way because after ... UTC +5 AKA Eastern Standard Time. ... Soon upon the establishment of the Greenwhich Meridian as the time ...
    (alt.horology)
  • Re: SWbemDateTime to Win 2k Compatible
    ... UUU is number of minutes to subtract from current time to get UTC. ... The TimeWritten property is not an Integer8 value, ... ' Get current date/time less 2 hours. ... This assumes your time zone bias is -480 minutes. ...
    (microsoft.public.scripting.vbscript)
  • Re: Received mail timestamp is off by 7 hours
    ... It should be one hour ahead of UTC right now. ... Notice that the timestamp on your local e-mail server corresponds to ... the CMOS real-time clock should be set to ... UTC and fix your time zone to match your location. ...
    (freebsd-questions)