08-03-2011 08:50 PM
You can change time zone in /etc/TIMEZONE file directly or using below command.
# set_parms timezone
Was this post useful? - You may click the KUDOS! star to say thank you.
08-04-2011 05:52 AM
"set_parms timezone" was already covered: that is the standard way to change the system default timezone.
But if you're running legacy software, you might need to change kernel parameters "timezone" and "dst" to match the new timezone setting. These parameters are deprecated and should no longer be used by modern software, and certainly aren't used by the HP-UX itself any more. (If you find that an application still uses these values, consider filing an enhancement request to the makers of the software, if possible.)
The value of the kernel parameter "timezone" is the UTC offset, expressed as number of minutes west of UTC; as Australia is located in the Eastern Hemisphere, this will be a negative number. It should match your Standard timezone offset, not the DST one.
The kernel parameter "dst" specifies the DST transition schedule. For Australia, the correct value is 2.
Run "kctune -d timezone dst" to see the current values and their descriptions. To change the values, you can use either the kctune command or SMH.