AstLinux (uClibc) Timezone Info
 

Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

AstLinux (uClibc) Timezone Info

E-mail Print PDF

(lifted from OpenWRT project documentation) 

Without a time zone set, AstLinux will display UTC.

Non-AstLinux Specific (uClibc)

To set a time zone use the /etc/TZ file. Copy & paste the time zones from the table below into the file. In this example it's done with the echo command. 

echo "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00" > /etc/TZ

NOTE: This sets the time zone for CET/CEST (Central European Time UTC+1 / Central European Summer Time UTC+2) and the start (5th week of March at 02:00) and end times (5th week of October at 03:00) of DST (Daylight Saving Time).

AstLinux TZ_Timezone (uClibc) Examples

 
 

Australia

Melbourne,Canberra,Sydney

EST-10EDT-11,M10.5.0/02:00:00,M3.5.0/03:00:00

Perth

WST-8

Brisbane

EST-10

Adelaide

CST-9:30CDT-10:30,M10.5.0/02:00:00,M3.5.0/03:00:00

Darwin

CST-9:30

Hobart

EST-10EDT-11,M10.1.0/02:00:00,M3.5.0/03:00:00

 

Europe

Amsterdam, Netherlands

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Athens, Greece

EET-2EEST-3,M3.5.0/03:00:00,M10.5.0/04:00:00

Barcelona, Spain

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Berlin, Germany

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Brussels, Belgium

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Budapest, Hungary

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Copenhagen, Denmark

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Dublin, Ireland

GMT+0IST-1,M3.5.0/01:00:00,M10.5.0/02:00:00

Geneva, Switzerland

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Helsinki, Finland

EET-2EEST-3,M3.5.0/03:00:00,M10.5.0/04:00:00

Kyiv, Ukraine

EET-2EEST,M3.5.0/3,M10.5.0/4

Lisbon, Portugal

WET-0WEST-1,M3.5.0/01:00:00,M10.5.0/02:00:00

London, Great Britain

GMT+0BST-1,M3.5.0/01:00:00,M10.5.0/02:00:00

Madrid, Spain

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Oslo, Norway

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Paris, France

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Prague, Czech Republic

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Roma, Italy

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Moscow, Russia

MSK-3MSD,M3.5.0/2,M10.5.0/3

St.Petersburg, Russia

MST-3MDT,M3.5.0/2,M10.5.0/3

Stockholm, Sweden

CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Tallinn, Estonia

EET-2EEST-3,M3.5.0/03:00:00,M10.5.0/04:00:00

 

New Zealand

Auckland, Wellington

NZST-12NZDT-13,M10.1.0/02:00:00,M3.3.0/03:00:00

 
USA & Canada1

 

Hawaii Time

HAW10

Alaska Time

AKST9AKDT

Pacific Time

PST8PDT

Mountain Time

MST7MDT

Mountain Time (Arizona, no DST)

MST7

Central Time

CST6CDT

Eastern Time

EST5EDT

Atlantic Time

AST4ADT

Atlantic Time (New Brunswick)

AST4ADT,M4.1.0/00:01:00,M10.5.0/00:01:00

Newfoundland Time

NST+3:30NDT+2:30,M4.1.0/00:01:00,M10.5.0/00:01:00

 

Asia

Jakarta

WIB-7

Singapore

SGT-8

Ulaanbaatar, Mongolia

ULAT-8ULAST,M3.5.0/2,M9.5.0/2

 
Central and South America

 

Brazil, São Paulo

BRST+3BRDT+2,M10.3.0,M2.3.0

Argentina

UTC+3

Central America

CST+6

Please update and include your time zone. You can find more on time zones at T.A.M.A.O. and on timeanddate.com.

1in August of 2005, the United States President Bush passed the Energy Policy Act, which, among other things, changes the time change dates for daylight saving time from the first Sunday in April to the second Sunday in March and from the last Sunday in October to the first Sunday in November. This pattern starts in 2007, however, and Congress still has time to revert the DST back. As such, these changes have not yet been incorporated into mainline uClibc (which provides the time functions for the C library used by OpenWrt). Therefore, it might be a good idea to change /etc/TZ explicitly (around mid-November 2006) to reflect this change (i.e., instead of EST5EDT write EST5EDT,M3.2.0,M11.1.0).

Last Updated on Sunday, 06 July 2008 21:35