KETI gate, CONVERT_TO_STCK_FORMAT function
The CONVERT_TO_STCK_FORMAT function of the KETI gate is used to convert times and dates to STCK format.
Input Parameters
- DECIMAL_TIME
- is the current local decimal time in the format HHMMSS.
- DECIMAL_DATE
- Optional Parameter
- is an optional 8-character date in the format determined either by FULL_DATE_FORMAT or by the default for the timer domain if FULL_DATE_FORMAT is omitted.
- FULL_DATE_FORMAT
- Optional Parameter
- is the current full date format.
- Values for the parameter are:
- DDMMYYYY
- MMDDYYYY
- YYYYMMDD
- INSTANCE
- Optional Parameter
- is required only if DECIMAL_DATE is omitted.
- Values for the parameter are:
- LAST
- NEXT
- TODAY
- LOCAL_ADJUST
- Optional Parameter
- Specifies whether to apply a local time adjustment.
- Values for the parameter are:
- NO
- YES
Output Parameters
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- STCK_TIME
- is a doubleword containing the STCK value corresponding to the input local time.