Change params for time zone


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Change params for time zone
# 1  
Old 03-31-2005
Question Change params for time zone

Hi! How ican change parameters for daylight, i mean, i want change the daylight on december first week. I've tried with /usr/lib/tztab but result unsuccessful.
# 2  
Old 03-31-2005
What is your OS? Post the output of "uname -a".
# 3  
Old 04-01-2005
Java uname -a

HP-UX Telmex B.11.11 U 9000/785 2008376529 unlimited-user license
# 4  
Old 04-01-2005
I have never this, but it looks like /usr/lib/tztab is the right file on HP-UX. Post your tztab entry and I will try it out.
# 5  
Old 04-04-2005
Original tztab file

# Greenwich Mean Time, British Summer Time
GMT0BST
0 3 25-31 3 1983-1984 0 BST-1
0 3 23-29 3 1985-1990 0 BST-1
0 3 25-31 3 1991-1995 0 BST-1
0 2 25-31 3 1996-2038 0 BST-1 <------ Smilie
0 1 25-31 10 1983-1985 0 GMT0
0 1 23-29 10 1986-1994 0 GMT0
0 1 18-24 10 1995 0 GMT0
0 1 25-31 10 1996-2038 0 GMT0

We want set it to april first sunday .

thanks in advance
# 6  
Old 04-05-2005
No wonder it didn't work for you. You forgot to change anything! The first 0 and 2 say that a change will happen at 2:00. The 25-31 and the 3 says a change will happen sometime March 25 through March 31. Then comes the year range. That final 0 says the change must happen on a Sunday.

So it looks like changing "25-31 3" to "1-7 4" should do it, if I understand what you want.
# 7  
Old 04-05-2005
sorry

I only post the original tztab,

# Greenwich Mean Time, British Summer Time
GMT0BST
0 3 1-7 4 2005 0 BST-1
0 1 25-30 11 1996-2038 0 GMT0

for thisexample is set to change on first april sunday at 1:59, 2005 and
last november sunday.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Date and time change in global and non global zone

Hi, If I change date and time in global zone, then it will affect in non global zones. During this process what files will get affect in non global zones and which mechanism it's using to change. gloabl zone:Solaris 11.3 X86 TIA (1 Reply)
Discussion started by: Sumanthsv
1 Replies

2. UNIX for Dummies Questions & Answers

How to change the time zone in UNIX??

hi, my system date and time zone is PDT. whenever i append date time stamp to a file it appends the system date thats PDT date time zone. i want to append GMT time zone. is there a mechanism or option which can append the date time stamp according to GMT. (4 Replies)
Discussion started by: Little
4 Replies

3. 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

4. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

5. Shell Programming and Scripting

Date Time Change for a particular target Zone

Hi Summary: - Script will take 2 arguments - Argument 1: Date/Time value in a particular format - Argument 2: TimeZone value Examples: Argument 1: a. "May 11, 2012 08:00:00 AM" b. "Dec 21, 2012 12:21:12 PM" c. "Oct 2, 2012 05:00:00 PM" Argument 2: a. MT or MST or MDT b. ET c.... (4 Replies)
Discussion started by: anuragpgtgerman
4 Replies

6. 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

7. Solaris

zone and global zone Ip change

Hi I have a global zone server with 4 difrent zones servers on it . I need to change all the Ip's for the global zone server and for his 4 zones servers . the change is a totaly diffrent Ip address on a diffrent range so I think I will need to do some changes on the defaultrouter and maybe... (3 Replies)
Discussion started by: shaife72
3 Replies

8. HP-UX

How can I change in HP-UX to Jerusalem time zone

How can I change in HP-UX The time zone to reflect the Jerusalem/Israel time zone (I think ist called IDT or IST) ? tnx (5 Replies)
Discussion started by: umen
5 Replies

9. HP-UX

Time Zone Change Needed

Need help with a timezone change for my user profile on HPUX, from UTC to PDT8PST pgop:/home/pgop > date Thu Sep 25 15:09:50 UTC 2008 to Thu Sep 25 08:12:44 PDT 2008 Tried looking through manuals for date over this to no luck!! :confused: (3 Replies)
Discussion started by: pgop
3 Replies

10. HP-UX

unable to change kernel params?

i have hp-ux 11i on a rp2470 machine. i'd like to change some kernel params with SAM. i change the params, process new kernel and reboot the system. after reboot i found that params does not change. i have done the same things many times but i still have the pb. plz what to do? (1 Reply)
Discussion started by: nabil_boussetta
1 Replies
Login or Register to Ask a Question