- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Time Change
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
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
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
10-13-2004 04:40 AM
10-13-2004 04:40 AM
I saw a thread earlier today that mentioned the upcoming time change. Is there a command that indicates when the time changes for a particular timezone? Maybe something that reads the tztab file?
Thanks,
John
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 04:43 AM
10-13-2004 04:43 AM
Re: Time Change
You can look at the tztab file and the man page for it - it's pretty well explained right there.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 04:45 AM
10-13-2004 04:45 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 04:50 AM
10-13-2004 04:50 AM
Re: Time Change
There is a kernel parameter "dst" that enables / disables daylight saving time.
These two links should help you understand how the daylight saving time change happens on the system.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068500534
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070865923
The doc ids are A5432015 & UCMDSKBRC00009530.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 04:56 AM
10-13-2004 04:56 AM
Re: Time Change
Thanks for the quick replies! I just downloaded A. Clay's perl program and it was just what I wanted. I need to send emails to my users. I just need to set and export TZ before using the program for each group of users.
$ dst.pl -n
Sun Oct 31 01:59:59 EDT 2004 --> Sun Oct 31 01:00:00 EST 2004
$
This is a neat program!
Thanks again,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 05:14 AM
10-13-2004 05:14 AM
Re: Time Change
TZ=EST5EDT dst.pl -n
Leveraging that technique:
TZS="EST5EDT CST6CDT MST7MDT PST8PDT"
for ZONE in ${TZS}
do
TZ=${ZONE} dst.pl -n
done
Just put in the TZ's that you need in TZS and it will output all the time changes.
There is also an option, '-d', to output the
days remaining until the time change which might prove useful.