- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ntp U.S. Time Zone Conversions
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
тАО10-02-2002 10:50 AM
тАО10-02-2002 10:50 AM
ntp U.S. Time Zone Conversions
- Tags:
- NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 10:52 AM
тАО10-02-2002 10:52 AM
Re: ntp U.S. Time Zone Conversions
I have HP-UX boxes across two time zones synced to a ntp time server, and I don't have to do anything to handle the time zones. I assume that each box handles the conversion using their local /etc/TIMEZONE file settings. It should just do the right thing if each box is setup correctly for their individual time zones.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 11:03 AM
тАО10-02-2002 11:03 AM
Re: ntp U.S. Time Zone Conversions
There is nothing you need to do. 'ntp' traffics in UTC (GMT). Your local timezone (TZ) setting turns the universal clock into your local one for display purposes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 11:42 AM
тАО10-02-2002 11:42 AM
Re: ntp U.S. Time Zone Conversions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 11:55 AM
тАО10-02-2002 11:55 AM
Re: ntp U.S. Time Zone Conversions
Your application could set its TZ to what it needed. For example, I'm in US Eastern time.
# date
Wed Oct 2 15:56:24 EDT 2002
# TZ=AST4ADT date
Wed Oct 2 16:56:24 ADT 2002
# TZ=CST6CDT date
Wed Oct 2 14:57:23 CDT 2002
...so, for the purposes of what my application sees (here, the 'date' command), the date can be displayed as I choose. Note that the above syntax changes the TZ variable only for the duration of the commandline.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 11:59 AM
тАО10-02-2002 11:59 AM
Re: ntp U.S. Time Zone Conversions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 12:13 PM
тАО10-02-2002 12:13 PM
Re: ntp U.S. Time Zone Conversions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 01:04 PM
тАО10-02-2002 01:04 PM
Re: ntp U.S. Time Zone Conversions
Again, don't fiddle with the TZ of the server. Rather, in the application's environment (as already noted), change the TZ value as you require. You could invent your own timezone and define it in '/usr/lib/tztab' as needed. See 'man 4 tztab' for more details.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 05:15 PM
тАО10-02-2002 05:15 PM
Re: ntp U.S. Time Zone Conversions
When you type the date command, what you see is an automatic translation. Do this:
TZ=PST8PDT date
TZ=CST6 date
TZ=EST5EDT date
AS you can see, your HP-UX box has every timezone available...jsut set the TZ value.
But your SCO box is Unix too and ntp on the SCO box will set the exact same time, that is, UTC or Zulu time, which is exactly what you want. Then in SCO, find out how to define the local timezone and magically, you can set any timezone you want.
Unix is much too smart to pay any attention to timezones which is why a timezone variable exists. That way, anyone can login anywhere in the world and see their local time.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 06:22 AM
тАО04-26-2011 06:22 AM