- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- TIMEZONE setting in HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:24 AM
тАО05-05-2009 08:24 AM
TIMEZONE setting in HP-UX
I have HP-UX servers in my system. I found that the time was changed in the last 5th April from +2 to +3 although it should be changed in 23rd April according to Egyptian standard.
my question is:
- I need a procedure to change the setting to the correct setting?
here is my details:
===============
here is the contents of /usr/lib/tztab
# Egypt Time, Egypt Daylight Savings Time
EGT-2EGTDST
0 0 25-30 4 2000-2038 0 EGTDST-3
0 0 28-29 8 2000-2038 0 EGT-2
=========================
root% more /etc/TIMEZONE
TZ=EGT-2EGTDST
export TZ
=========================
root% date
Mon Apr 6 20:25:16 EGTDST 2009
root% date -u
Mon Apr 6 17:25:22 UTC 2009
=========================
root% perl dst.pl
Sun Apr 05 01:59:59 EGT 2009 --> Sun Apr 05 03:00:00 EGTDST 2009
Sun Oct 25 01:59:59 EGTDST 2009 --> Sun Oct 25 01:00:00 EGT 2009
=========================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:57 AM
тАО05-05-2009 08:57 AM
Re: TIMEZONE setting in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 10:12 AM
тАО05-05-2009 10:12 AM
Re: TIMEZONE setting in HP-UX
doesn't appear to match the tztab file as presented... from what's there, I'd have expected the time change to occur on Sunday 4/26????
i thought egypt transitioned at midnight the last friday of the month (which doesn't seem to match the tztab either) but I've been unable to confirm that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 11:13 AM
тАО05-05-2009 11:13 AM
Re: TIMEZONE setting in HP-UX
> 0 0 28-29 8 2000-2038 0 EGT-2
The week interval in both lines in not a full week and both lines are probably ignored. The "25-30" should be "24-30" and the "28-29" should be "25-31".
Fix those numbers and try the dst.pl again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 12:27 PM
тАО05-05-2009 12:27 PM
Re: TIMEZONE setting in HP-UX
Exactly. Some previous threads:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1239468
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1225597
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1210672