Time Zone Change Needed


 
Thread Tools Search this Thread
Operating Systems HP-UX Time Zone Change Needed
# 1  
Old 09-25-2008
Question Time Zone Change Needed

Need help with a timezone change for my user profile on HPUX, from UTC to PDT8PST
Code:
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!!
Smilie
# 2  
Old 09-25-2008
Perhaps this post is helpful?

How can I change in HP-UX to Jerusalem time zone
# 3  
Old 09-25-2008
In your case edit /etc/TIMEZONE to
Code:
TZ=PDT8PST
export TZ

set protections correctly.
make sure that /etc/profile has a line that looks like this:
Code:
if [ -f /etc/TIMEZONE ] ; then
    . /etc/TIMEZONE
else
    TZ=PDT8PST
    export TZ
fi

Make sure there is an entry like this in /usr/lib/tztab
Code:
# Pacific Standard Time, Pacific Daylight Time
PST8PDT
0 3 24-30 4  1970-1973 0   PDT7
0 3 6     1  1974      0-6 PDT7
0 3 22-28 2  1975      0   PDT7
0 3 24-30 4  1976-1986 0   PDT7
0 3 1-7   4  1987-2006 0   PDT7
0 3 8-14  3  2007-2038 0   PDT7
0 1 25-31 10 1970-1973 0   PST8
0 1 24-30 11 1974      0   PST8
0 1 25-31 10 1975-2006 0   PST8
0 1 1-7   11 2007-2038 0   PST8

# 4  
Old 10-05-2008
Thanks!!..
worked out...Smilie

Had done the changes to the profile..
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. Solaris

modifying date and time and time zone on solaris 5.10 with (redundant server) veritas

I have a cluster of two Solaris server (veritas cluster). one working and the other is standby I am going to change the date on them , and am looking for a secure solution as it is giving an important service. my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies

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

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

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

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

10. UNIX for Advanced & Expert Users

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. (7 Replies)
Discussion started by: agustincm
7 Replies
Login or Register to Ask a Question