Time zone files

pascal francois coppernrh at yahoo.fr
Wed Nov 15 09:05:10 UTC 2006


Hi,
Here is a script for your understanding :

zdump -v /usr/share/zoneinfo/NZ |grep 2007 |gawk '{print $9" "$10" "$11" "$12" "$13" "$14}'

The result is :
Sun Mar 18 02:59:59 2007 NZDT
Sun Mar 18 02:00:00 2007 NZST
Sun Oct 7 01:59:59 2007 NZST 
Sun Oct 7 03:00:00 2007 NZDT 

----- Message d'origine ----
De : pascal francois <coppernrh at yahoo.fr>
À : General Red Hat Linux discussion list <redhat-list at redhat.com>
Envoyé le : Mercredi, 15 Novembre 2006, 9h28mn 44s
Objet : Re : Time zone files


Hi Jack,
You have this information with zdump :
Look at the sample below, I have deliberately isolated the important informations in a square.
You have to read it from top to bottom.
Sun Mar 26 at 01:59:59 2006 you are CET and
1 second later (below) you shall be at 03:00:00 in CEST
The third and fourth lines are for shifting from CEST to CET in october.

# zdump -v -c 2007 /etc/localtime
.......                                                      -------------------------------------------
Sun Mar 26 00:59:59 2006 UTC =   ! Sun Mar 26 01:59:59 2006 CET   !      isdst=0 gmtoff=3600 
Sun Mar 26 01:00:00 2006 UTC =   ! Sun Mar 26 03:00:00 2006 CEST !      isdst=1 gmtoff=7200 
Sun Oct 29 00:59:59 2006 UTC =    ! Sun Oct 29 02:59:59 2006 CEST  !      isdst=1 gmtoff=7200 
Sun Oct 29 01:00:00 2006 UTC =    ! Sun Oct 29 02:00:00 2006 CET    !      isdst=0 gmtoff=3600 
                                                            --------------------------------------------

Patrick


----- Message d'origine ----
De : "Allen, Jack" <Jack.Allen at McKesson.com>
À : General Red Hat Linux discussion list <redhat-list at redhat.com>
Envoyé le : Mardi, 14 Novembre 2006, 18h36mn 23s
Objet : RE: Time zone files


No one has any information?

Jack Allen


-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:Jack.Allen at McKesson.com] 
Sent: Thursday, November 02, 2006 4:25 PM
To: General Red Hat Linux discussion list
Subject: Time zone files

Hello: 
        Is there command that will show the information in a zone info
file such as when daylight saving time starts and ends and what offset
before and after?

        I have tried zdump, but it did not give me the information I
wanted. I am running RH AS 4.4. 

Thanks 
Jack Allen


	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com


More information about the redhat-list mailing list