DST Change For Australia


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting DST Change For Australia
# 1  
Old 05-07-2007
DST Change For Australia

Hello ,

We are investigating an issue from a customer from Western Australia related to DST change on 25 th March. The customer in Australia has the below settings for Time Zone. The System is Solaris 9.

TZ=Australia/NSW
CMASK=022


We are trying to reproduce the problem in our local enviorenment. We did the following steps

1. Changed the TZ parametre in /etc/TIMEZONE to Western Australia.
2. Rebooted the machine.
3. Manually set the time at 25 March 2007 2:58 AM

But the date didnt go 1 Hr back after 3:00.

We also manually changed the date to 1:58 but the clock didnt go 1 hr back after 2.

Any help on how to reproduce the DST on local env is appreciated .

Thanks
Mohammed
# 2  
Old 05-07-2007
/usr/share/lib/zoneinfo/Australia/<timezone name>

Can you find a NSW file in the zoneinfo directory? It sounds like it is not there. Or maybe it has some issues, possibly protection.

Plus, DO NOT set time back and forth like that, you can cause cron jobs to do unexpected things. And mess up nightly processing.

UNIX time is kept in seconds since Jan 1 1970. Daylight time changes do not change that count. Changing the date does. The system uses files in /usr/share/lib/zoneinfo/Australia/.... to display the time based on UTC calculated from the number of seconds.

You should set the date (in seconds) to match UTC, whatever that may be.
However use date -a to do that, it is less likely to screw up batch jobs.

You can manually set the timezone using the results of tzselect. It asks questions. tzdump should let you see what /usr/share/lib/zoneinfo/Australia/NSW thinks about DST, if the file is okay.

Last edited by jim mcnamara; 05-07-2007 at 09:01 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. AIX

Change Time Zone to UTC without DST

Hello AIX friends, We have timezone settings on our AIX 6.1 boxes set to Europe/London. How can I change it to UTC timezone with Daylight saving disabled. After running "smit chtz_user" I don't see UTC option in the listing. Please advise. TIA (3 Replies)
Discussion started by: prvnrk
3 Replies

2. AIX

Bug in AIX 6.1/7.1 Time Zone DST Change -again

Hi Everyone Just wanted to share with you that IBM AIX is having again problem with Summer Time Shift.. IBM Possible Action Required: System time may not change properly at DST start/end dates on AIX 7.1 and AIX 6.1 - United States For me it means some additional overtimes in the... (0 Replies)
Discussion started by: gito
0 Replies

3. HP-UX

DST change on Compaq Tru64

Hello all, I hope someone can help me. We have Compaq Tru64 UNIX V5.1B (Rev. 2650). By latest Belarus government act Europe/Minsk timezone was changed to GMT+3 without DST (was GMT+2 with DST). Please advice how to do changes on our machine. Thank You in advance, md1982 (15 Replies)
Discussion started by: md1982
15 Replies

4. Linux

DST Time Change for positive timezones not working

I was doing timezone and DST testing which is required for some of my products Here is the strange behaviour i observed First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone) zdump -v /etc/localtime |grep 2010 /etc/localtime Sun Mar 14 09:59:59... (0 Replies)
Discussion started by: ravindra1103
0 Replies

5. AIX

Australia NSW DST

Hello. Our application is running on AIX box located in NSW , Australia. As DST starts on Oct 28th - Do you know IF AIX boxes have auto updates of day light saving times? IF not , how to do it? IF yes, where can I verify it? Thank you! (3 Replies)
Discussion started by: panchpan
3 Replies

6. Shell Programming and Scripting

confused in australia

hi! i have a lot of files (800+) (in windows format - i.e. they have spaces in the filename) that i need to copy to disk... if i write a for loop to ls the files and copy it fails as the file it trys to read is just the 1st part of the file (which of course doesnt exist)... i dont want to... (4 Replies)
Discussion started by: serm
4 Replies
Login or Register to Ask a Question