11-16-2007, 04:04 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
On remote machine:
zdump -v /etc/localtime |grep 2007
That will show you start/stop for Daylight Saving Time for 2007.
Typically /etc/localtime should be linked to or a copy of one of the zonefiles in /usr/share/zoneinfo (or its subdirectories).
e.g. My /etc/localtime on one server is a copy of /usr/share/zoneinfo/America/New_York because I'm in the US Eastern Time zone like New York.
You can also run zdump against those files e.g.
zdump -v /usr/share/zoneinfo/America/New_York |grep 2007
zdump -v /usr/share/zoneinfo/America/Yellowknife |grep 2007
etc...
Also type "echo $TZ" to see if your timezone variable is set - if it is then the value you see for time is whatever that specifies rather than /etc/localtime. /etc/localtime is the system global default.
|
|
|