- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX B.11.31-Change from daylights time 2020
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
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
тАО03-12-2020 08:46 AM - last edited on тАО03-22-2020 08:05 AM by Parvez_Admin
тАО03-12-2020 08:46 AM - last edited on тАО03-22-2020 08:05 AM by Parvez_Admin
Hi everyone
Could someone tell me what is the procedure for changing from daylight time 2020 to winter time in Chile for HP-UX B.11.31?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2020 08:11 AM - edited тАО03-13-2020 08:15 AM
тАО03-13-2020 08:11 AM - edited тАО03-13-2020 08:15 AM
SolutionTimezone adjustments are automatic i HP-UX.
Your env variable $TZ will set the time based on this The file /usr/lin/tztab has all the timezone rules from around the world.
You should have Chile listed in that file.
If not, you can simply append this text to the end of /usr/lib/tztab:
# Time zone for Chile (Chile/Santiago Standard Time, Chile/Santiago Daylight Time)
CLT4CLST
0 23 23-29 3 1970 6 CLT4
0 23 8-14 3 1971-1986 6 CLT4
0 23 8-14 4 1987 6 CLT4
0 23 8-14 3 1988-1996 6 CLT4
0 23 24-30 3 1997 6 CLT4
0 23 8-14 3 1998 6 CLT4
0 23 1-7 4 1999 6 CLT4
0 23 8-14 3 2000-2007 6 CLT4
0 23 24-30 3 2008 6 CLT4
0 23 8-14 3 2009 6 CLT4
0 23 1-7 4 2010 6 CLT4
0 23 1-7 5 2011 6 CLT4
0 23 22-28 4 2012-2014 6 CLT4
0 23 8-14 5 2016-2018 6 CLT4
0 23 1-7 4 2019-2038 6 CLT4
0 1 9-15 10 1970-1972 0 CLST3
0 1 24-30 9 1973 0 CLST3
0 1 9-15 10 1974-1989 0 CLST3
0 1 16-22 9 1990 0 CLST3
0 1 9-15 10 1991-1997 0 CLST3
0 1 21-27 9 1998 0 CLST3
0 1 9-15 10 1999-2010 0 CLST3
0 1 16-22 8 2011 0 CLST3
0 1 2-8 9 2012-2014 0 CLST3
0 1 9-15 8 2016-2018 0 CLST3
0 1 2-8 9 2019-2038 0 CLST3
To read the documentation for the TZ variable, see the man page for environ.
To set the value for TZ, the file /etc/TIMEZONE must be sourced at login, typically by /etc/profile with a line like this:
. /etc/TIMEZONE
The . indicates to the login shell that the file is to be run as a series of shell commands.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2020 08:35 PM - edited тАО03-15-2020 08:35 PM
тАО03-15-2020 08:35 PM - edited тАО03-15-2020 08:35 PM
Re: Change from daylights time 2020
tztab(4) cumulative Patch PHCO_44798 includes Daylight Saving Time for Chile timezone (CLT4CLST).
Just make sure Patch PHCO_44798 or latest patch PHCO_44817 is installed and set the timezone to Chile.
Manikandan
I work for HPE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2020 08:35 AM
тАО03-17-2020 08:35 AM
Re: Change from daylights time 2020
Thanks Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2020 08:36 AM
тАО03-17-2020 08:36 AM
Re: Change from daylights time 2020
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2020 06:47 AM
тАО03-28-2020 06:47 AM
Re: HP-UX B.11.31-Change from daylights time 2020
As mentioned above, the time adjustmentis made using the current value of $TZ
You must first edit the file /usr/lib/tztab and look for Chile.
Change the entry for Chile (or If not in the file) add the text above that contains the rules for Chile.
Then edit the file /etc/TIMEZONE and change it to:
TZ=CLT4CLST
export TZ
Now login and the time should match your local time.
If not, you will have to shutdown all databases and applications that use the current time value.
Then run this command and set the time:
# /sbin/set_parms date_time
Now you must reboot to make sure every process sees the new time of day.
Bill Hassell, sysadmin