- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- daylight_savings.com deassigns sys$timezone_name
Operating System - OpenVMS
1753760
Members
4800
Online
108799
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-03-2008 10:09 AM
11-03-2008 10:09 AM
daylight_savings.com deassigns sys$timezone_name
Hi,
I have a program on my system that needs to know the GMT offset for the current time zone. In trying to adhere to the KISS principal, I made the program retrieve the value of the SYS$TIMEZONE_NAME logical and set it to the correct offset if the value was EDT or EST. It was summer when I wrote the program, so I was quite surprised today to find out that when DST ends, the logical doesn't get changed, it just gets deassigned. Is there a reason for this? Is there a way to make it be correctly defined throughout the year? I'm working on VMS 7.3-2.
I have a program on my system that needs to know the GMT offset for the current time zone. In trying to adhere to the KISS principal, I made the program retrieve the value of the SYS$TIMEZONE_NAME logical and set it to the correct offset if the value was EDT or EST. It was summer when I wrote the program, so I was quite surprised today to find out that when DST ends, the logical doesn't get changed, it just gets deassigned. Is there a reason for this? Is there a way to make it be correctly defined throughout the year? I'm working on VMS 7.3-2.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2008 11:30 AM
11-03-2008 11:30 AM
Re: daylight_savings.com deassigns sys$timezone_name
I've been involved in this discussion for twenty years now, and with the various oddities involved in TZ and DST over that time.
The daylight_savings.com (sic; it's "daylight saving") tool is probably broken here. Check for ECO kits; there have been various kits here. If not current, get there.
The following will probably fix this case:
$ @sys$manager:utc$time_setup
IMHO, the TZ and DST features will never work entirely right on OpenVMS, pending fundamental architectural changes. These architectural changes will probably break some existing software, so they're comparatively unlikely; we'll continue along with the semiannual festivals of weird TZ and DST values for the foreseeable future. There are just too many assumptions and hacks and stuff that looks at random logical names to ever get this working "right."
If you want the best operation, run UTC and forget DST.
The daylight_savings.com (sic; it's "daylight saving") tool is probably broken here. Check for ECO kits; there have been various kits here. If not current, get there.
The following will probably fix this case:
$ @sys$manager:utc$time_setup
IMHO, the TZ and DST features will never work entirely right on OpenVMS, pending fundamental architectural changes. These architectural changes will probably break some existing software, so they're comparatively unlikely; we'll continue along with the semiannual festivals of weird TZ and DST values for the foreseeable future. There are just too many assumptions and hacks and stuff that looks at random logical names to ever get this working "right."
If you want the best operation, run UTC and forget DST.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP