KETI gate, CONVERT_TO_DECIMAL_TIME function
The CONVERT_TO_DECIMAL_TIME function of the KETI gate is used to convert dates and times in the internal store clock (STCK) format to decimal format.
Input Parameters
- STCK_TIME
- is a doubleword containing a date and time in STCK format.
- LOCAL_ADJUST
- Optional Parameter
- Specifies whether to adjust the STCK value to local time.
- Values for the parameter are:
- NO
- YES
Output Parameters
- DECIMAL_DATE
- is an 8-character date in the format determined by FULL_DATE_FORMAT.
- DECIMAL_MICROSECONDS
- is the 6-character microseconds portion of DECIMAL_TIME.
- DECIMAL_TIME
- is the current local decimal time in the format HHMMSS.
- FULL_DATE_FORMAT
- is the current full date format determined by the default date format of the timer domain.
- Values for the parameter are:
- DDMMYYYY
- MMDDYYYY
- YYYYMMDD
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.