- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing timezone for DST
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
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
тАО06-10-2008 01:29 AM
тАО06-10-2008 01:29 AM
Changing timezone for DST
HP-UX B.11.23 U ia64. Since there is no available patch so, I modified following in tztab
# Pacific Standard Time, Pacific Daylight Time (for Malaysia or Singapore)
#
PST9PDT
0 0 9 6 2008-2008 1 PDT9
0 0 10 6 2008-2038 1 PST8
But it did not come into effect on particular date & time. Can someone help to understand how do the changes made in tztab file come into effect. Does sytem require reboot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 01:41 AM
тАО06-10-2008 01:41 AM
Re: Changing timezone for DST
1) if the environment variable TZ is present, it takes the
precedence.
2) if TZ is not present, then the value contained in
/etc/default/tz is used for default.
3) if /etc/default/tz is not set, then the default value is
equivalent to EST5EDT (Eastern Standard Time) of US.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 01:41 AM
тАО06-10-2008 01:41 AM
Re: Changing timezone for DST
can you look at which timezone you are in
with date command ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 01:45 AM
тАО06-10-2008 01:45 AM
Re: Changing timezone for DST
echo $TZ
grep TZ /etc/profile
The TZ variable is exported from the profile
If you want to change the date/time, then you have to use the date command. But if you have application/database running which depends on the time stamp, then it is not recommended to use date command while the db/apps running. You need to stop those before you change the time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 01:45 AM
тАО06-10-2008 01:45 AM
Re: Changing timezone for DST
Infact I tried SST too in the tztab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 02:00 AM
тАО06-10-2008 02:00 AM
Re: Changing timezone for DST
And the second, 9 is off the west coast in the water, or in Alaska. :-)
Perhaps you meant PST-9PDT? There is PST-8PDT in:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1217628
Another problem you are violating the undocumented restrictions in tztab.
If you set the day of week to 1 (Monday), you MUST have a date range of EXACTLY 7 days, instead of either 9 or 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 02:10 AM
тАО06-10-2008 02:10 AM
Re: Changing timezone for DST
set_parms timezone
It allows you to select a timezone based on your country of location.Also it allows you to set a user-supplied timezone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 02:34 AM
тАО06-10-2008 02:34 AM
Re: Changing timezone for DST
In any case, if you want to test this, you should use Clay's dst.pl script:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1234321