TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-16
#ADDDSTTRANSITION Built-In Function (Super-
Group Only)
#ADDDSTTRANSITION Built-In Function (Super-Group Only)
Use #ADDDSTTRANSITION to add an entry to the daylight savings time transition
table.
low-gmt
is an integer (see #COMPUTETIMESTAMP Built-In Function on page 9-73 for its
format) that represents the Greenwich mean time when offset first applies.
high-gmt
is an integer that represents the GMT when offset no longer applies.
offset
is an integer that represents the number of seconds to be added to the local
standard time to produce the local civil time.
Result
#ADDDSTTRANSITION returns a nonzero value if it is successful, zero otherwise.
Considerations
•
To use the #ADDDSTTRANSITION function, you must have a group ID of 255.
•
The DST transition table must be loaded in time sequence with no gaps: in each
entry after the first, low-gmt must be the same as the high-gmt in the preceding
#ADDDSTTRANSITION call.
•
Daylight saving time information is represented as the variable
DAYLIGHT_SAVINGS_TIME in the CONFTEXT file used as part of system
generation. There are three possible values: NONE (do not adjust the time),
USA66 (automatically adjust the time when appropriate), and TABLE. The default
value is NONE. NONE and USA66 require no further user input. TABLE requires
subsequent manipulation of the daylight savings time transition table (DST).
°
On D-series RVU systems, the value to be assigned to
DAYLIGHT_SAVING_TIME is set by editing the CONFTEXT configuration file
used during system generation.
°
On G-series RVU systems, the value to be assigned to
DAYLIGHT_SAVING_TIME is set with the Subsystem Control Facility (SCF)
for the Kernel Subsystem (rather than in the CONFTEXT file).
If TABLE is specified you must be a super-group user (255, n) to manipulate
entries in the DST. When TABLE is specified:
#ADDDSTTRANSITION low-gmt high-gmt offset