What is the purpose of the 'timezone' and 'dst' kernel
The 'TZ' environment variable and the 'timezone' and 'dst' kernel
parameters are two independent features to handle timezones and daylight
savings time. The former is meant to replace the latter. Unless your
application programs use out-of-date system calls, you do not have to
configure the 'timezone' or 'dst' kernel parameters.
According to the SAM help menu, the 'timezone' and 'dst' kernel
should be kept in sync with the 'TZ' variable. This was true in the past,
when older system calls were used which referenced the kernel parameters.
These two system calls are gettimeofday(2) and ftime(2). HP-UX
applications and most third party applications do not use these system
calls any more. The manpage for gettimeofday(2) states: "Programs should
use this time zone information only in the absence of the 'TZ'
As long as your application programs use standard libc functions to
timezone information, you do not have to set the 'timezone' or 'dst'
If you still need to set these parameters, here is how to do so:
o for 'timezone': multiply the TZ_offset by 60; i.e. for EST5EDT:
TZ_offset = 5, so timezone = 5 * 60 = 300
(Valid values range from -720 to 720)
o for 'dst': check the DST setting and select the proper 'dst' kernel
value (valid dst values are listed in the SAM help menu
for 'dst' kernel parameter)
[an error occurred while processing this directive]