- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change time for EST to PDT
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
08-18-2006 06:59 AM
08-18-2006 06:59 AM
Change time for EST to PDT
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 07:04 AM
08-18-2006 07:04 AM
Re: Change time for EST to PDT
set_parms timezone
Allows the user to select a timezone based on the country of location. Also allows setting a user-supplied timezone. The system will need to be rebooted for a change to take effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 07:15 AM
08-18-2006 07:15 AM
Re: Change time for EST to PDT
transaction 100, for example, from occurring before transaction 99. Some thought also needs to be given to your existing cron entries. Will they need to be adjusted for the new time? Will you miss any cron jobs during your changeover?
In short, you've got lots of homework to do before you know the answer to YOUR question.
No one can really answer this question for you with anything other than "it depends" because it depends upon your applications and environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 07:19 AM
08-18-2006 07:19 AM
Re: Change time for EST to PDT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 07:54 AM
08-18-2006 07:54 AM
Re: Change time for EST to PDT
You can do a "set_parms timezone" and just answer the question it ask you. Like what time zone.:-)
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 08:02 AM
08-18-2006 08:02 AM
Re: Change time for EST to PDT
Kernel Configurarion -> Configurable Parameters -> Timezone
Specify the time delay from Coordinated Universal Time west to the local time zone.
Acceptable Values:
Minimum
-720
Maximum
720
Default
420
http://docs.hp.com/en/939/KCParms/KCparam.TimeZone.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 08:06 AM
08-18-2006 08:06 AM
Re: Change time for EST to PDT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 10:54 AM
08-18-2006 10:54 AM
Re: Change time for EST to PDT
If it is being moved, just edit the file /etc/TIMEZONE and change EST5EDT to PST8PDT. No need to run set_parms.
HOWEVER: If it is because there are remote users, DON'T change the time. HP-UX keeps universal time (GMT, UTC, Zulu, etc) and will display and accept *ANY* timezone anywhere. If your system is in New York, and users in California aer using it, those users make one change to their login .profile:
export TZ=PST8PDT
or whatever timezone the users are in. Now I see you said: "EST to PDT". This calls into question just what time your server is using. If your current setting in /etc/TIMEZONE is truly EST5, then your computer time may be off by an hour. The reason is that if you set the system time with TZ=EST5 when Daylight Saving was in effect, the computer's time is off by one hour. To verify this, display the computer's time with:
date -u
The time should be 6 hours later for date -u (UTC time). The /etc/TIMEZONE file must have the full standard and daylight saving names: EST5EDT which matches the definition in /usrlib/tztab.
To see how the date (and therefore, timestamps for files, etc) are affected by TZ, try these commands:
TZ=CST6CDT date
TZ=MST7MDT date
TZ=PST8PDT date
and to see what happens if EDT is missing:
TZ=EST5 date
TZ=EST5EDT date
So, no need to change the computer time at all. Just adjust TZ for remote users.
Bill Hassell, sysadmin