Re : Time zone files

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

 



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@xxxxxxxx>
À : General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
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@xxxxxxxxxxxx>
À : General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
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@xxxxxxxxxx [mailto:Jack.Allen@xxxxxxxxxxxx] 
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
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux