- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Reg. TIme Zone Changing
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
Forums
Discussions
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
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
06-29-2001 03:37 PM
06-29-2001 03:37 PM
Reg. TIme Zone Changing
How do I make changes to effect daylight saving for the time zones which have daylight saving(For ex. US-Pacific has day light saving whereas Arizona does not have daylight saving)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2001 03:59 PM
06-29-2001 03:59 PM
Re: Reg. TIme Zone Changing
You can run set_parms timezone and it will show you the different TZ's. basically it should open up a GUI and you can select PDT for pacific daylight savings time the other option for pacific time will be PST pacific std time. etc depending upon your time zones.
Goodluck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2001 09:18 PM
06-29-2001 09:18 PM
Re: Reg. TIme Zone Changing
Hi
U login as root and then run this command
#set_parms timezone
Now it will list 1-7 locations, U will have to select the proper one. Then it will list the countries in that location. U will have to select the proper country. Then it will show the current time. Now verify that.
Bettr U close mager processes like ur oracle or other application softwares before running this command, because those applications may be dependend on time.
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2001 11:41 PM
06-29-2001 11:41 PM
Re: Reg. TIme Zone Changing
u can also use the command "setup" to set the time zone. u should be the root user to use this command
This gives u 5 options. the second option is to change the time zone. its a menu based program.
it will be better to use this command in the single user mode.
regards
jayamohan.v.d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2001 03:59 PM
06-30-2001 03:59 PM
Re: Reg. TIme Zone Changing
Adittion to my reply, You need to reboot the server to see the changes with he date command.
the set-params will update the /etc/TIMEZONE.
goodluck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2001 05:37 PM
06-30-2001 05:37 PM
Re: Reg. TIme Zone Changing
Actually, there is a better way, simply set and export the TZ variable manually. Remember,
TZ does not alter the way system timestamps are stored only how they are displayed. Consider two users, one set with TZ=CST6CDT and the other set with TZ=PST8PDT. If each user lools at a file timestamp or the system time (via date) they will get two different values eventhough the system simply counts the number of seconds since Jan 1, 1790 00:00:00 UTC. There is a real advantage to manually setting and exporting TZ, you can set really weird timezones than only shift by 30 minutes for daylight savings times or on really strange days of the year. That way, you can give your application a much better test than simply using the defined values.
You should man environ for a really good explanation of setting the TZ value.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2001 01:43 PM
07-01-2001 01:43 PM
Re: Reg. TIme Zone Changing
The recommendation to use set_parms should not be used for testing, only for physical transport of the computer to another timezone. Instead, use the value for TZ to control the environment for the programs. HP-UX can be accessed anywhere in the world in any timezone and display time information as local time by using TZ. See the man page for tztab. Note that tztab (and TZ) can handle any rules (including Indiana which is quite strange). Arizona (MST) is already coded in tztab, but should a local legislature decide to change the rules, a simple edit of txtab will fix everything.
Bill Hassell, sysadmin