> Everytime we switch from winter to summer or summer to wintertime, the time > in my Linux OS RH5 enterprise > Isn?t right. Do you have any suggestion about this problem and how to get the > right time > automatically. I ggogled a lot, but I cannot get my finger on it.
Dear Mari, The system time in Linux (and other Unix like systems) is represented as seconds since 1970-01-01 00:00:00 GMT. This depends neither on time zones nor summer time. System administrator should almost never touch system clock. Human readable time is converted from system time on the fly when requested by some user space program. This happends according to the TZ environment variable of the given process. E.g. /bin/ls produces different results if I change TZ variable: $ TZ=Europe/Amsterdam ls -l --full-time /etc/passwd -rw-r--r-- 1 root root 1921 2008-10-25 15:15:21.000000000 +0200 /etc/passwd $ TZ=Asia/Tokyo ls -l --full-time /etc/passwd -rw-r--r-- 1 root root 1921 2008-10-25 22:15:21.000000000 +0900 /etc/passwd $ TZ=America/Montevideo ls -l --full-time /etc/passwd -rw-r--r-- 1 root root 1921 2008-10-25 11:15:21.000000000 -0200 /etc/passwd $ Regards Gabor _______________________________________________ timekeepers mailing list [email protected] https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers
