- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set the timezone without Daylight Savings T...
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
03-27-2005 11:09 PM
03-27-2005 11:09 PM
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 11:37 PM
03-27-2005 11:37 PM
Re: How to set the timezone without Daylight Savings Time?
It has the non-daylight options.
You can also specify a custom timezone if needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 11:37 PM
03-27-2005 11:37 PM
Re: How to set the timezone without Daylight Savings Time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 11:04 AM
03-28-2005 11:04 AM
Re: How to set the timezone without Daylight Savings Time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 02:11 PM
03-28-2005 02:11 PM
SolutionTZ=EST5EDT
export TZ
Change it to read:
TZ=GMT
export TZ
and now your local time will be displayed and interpreted as GMT.
NOTE: HP-UX is somewhat unique in handling timezones. Look at the manpage for tztab (and also look at the file: /usr/lib/tztab) to see how it it can be customized. HP-UX never changes time for Dalight Saving, the system libraries only change the representation of time based on TZ. This is quite a feature because any user from anyplace in the world can see the server's time in their local timezone. The user's timestamps for file changes will match local time as well as date reporting the local time. All the user has to do is export TZ in their local .profile and presto! local time. You can demonstrate this with these commands:
date
TZ=GMT date
TZ=EST5EDT date
TZ=XYZ1 date
TZ=ABC-1 date
Now you'll notice that timezones XYZ and ABC are not defined in tztab. You can actually define your own timezone as well as any Daylight Saving you'd like to use. The details are a bit hidden: man environ
Bill Hassell, sysadmin