- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TIMEZONE & Daylight Saving Time
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
Forums
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
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
тАО04-05-2005 10:32 AM
тАО04-05-2005 10:32 AM
I want to solve the problem that I have with my HP-UX. every time with the TIME ZONE.
I am in Central America using the TIME ZONE TZ=CST6CDT according to the command env.
I need to know:
When they are the days and the hours change in summer and winter for my time zone?
That I should modify so that not ahead or do go back the hour in summer or winter?
I wait can help me
Thank you !!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 10:55 AM
тАО04-05-2005 10:55 AM
Re: TIMEZONE & Daylight Saving Time
# man tztab
for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 11:01 AM
тАО04-05-2005 11:01 AM
SolutionThe good news is that I have a Perl script which will ask the system for you and it uses the same functions as the date command and localtime() related functions do.
All you have to do is:
dst.pl
That will display the exact seconds before and after each time change for the ciurrent year. Invoke it as dst.pl -u for full usage. If you have one of the free Perl's installed on a Windows box, it will even work on them as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 11:03 AM
тАО04-05-2005 11:03 AM
Re: TIMEZONE & Daylight Saving Time
TZ=EST5EDT dst.pl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 11:36 AM
тАО04-05-2005 11:36 AM
Re: TIMEZONE & Daylight Saving Time
And what time the server change hour
at the 12:59 Pm or 1:59 AM ?
How I interpret the the file tztab?
Thank you !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 12:27 PM
тАО04-05-2005 12:27 PM
Re: TIMEZONE & Daylight Saving Time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 12:32 PM
тАО04-05-2005 12:32 PM
Re: TIMEZONE & Daylight Saving Time
$ echo ${TZ}
CST6CDT
$ perl dst.pl -y 2005
Sun Apr 03 01:59:59 CST 2005 --> Sun Apr 03 03:00:00 CDT 2005
Sun Oct 30 01:59:59 CDT 2005 --> Sun Oct 30 01:00:00 CST 2005
$
Notice that it shows you both transitions for 2005.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 02:26 PM
тАО04-05-2005 02:26 PM
Re: TIMEZONE & Daylight Saving Time
To make the change work for everyone, edit the file /etc/TIMEZONE:
TZ=PANAMA6
export TZ
The key is that HP-UX never changes timezones, it is always GMT. The TZ value simply adjusts how it is displayed or interpreted.
Bill Hassell, sysadmin