Date and time instructions
Related topics:
Timer instructions
In this section:
ADD_DT_TIME
Add TIME to DATE_AND_TIME
ADD_TOD_TIME
Add TIME to TIME_OF_DAY
CONCAT_DATE_INT
Concatenate INT values to form a date
CONCAT_DATE_TOD
Concatenate date and time of day
CONCAT_DT_INT
Concatenate INT values to form date and time
CONCAT_TOD_INT
Concatenate INT values to form the time of day
DAY_OF_WEEK0
Return the day of the week
DTBCD_TO_DT
DTBCD to DATE_AND_TIME
DTBIN_TO_DT
Date and time in binary format to DATE_AND_TIME
DT_TO_DTBCD
DATE_AND_TIME to date and time data in BCD format
DT_TO_DTBIN
DATE_AND_TIME to date and time data in binary format
GET_RTC_DT
Read the real-time clock
GET_RTC_DTBCD
Read the Real-Time Clock using DTBCD
GET_RTC_DTBIN
Read the Real-Time Clock using DTBIN
SET_RTC_DTBCD
Set the Real-Time Clock using DTBCD
SET_RTC_DTBIN
Set the Real-Time Clock using DTBIN
IS_VALID_DATE_INT
Check whether DATE is valid
IS_VALID_DT_INT
Check whether DATE_AND_TIME is valid
IS_VALID_TOD_INT
Check whether the TIME_OF_DAY is valid
SET_RTC_DT
Set the real-time clock
SPLIT_DATE_INT
Split DATE into INT values
SPLIT_DT_INT
Split DATE_AND_TIME into INT values
SPLIT_TOD_INT
Split TIME_OF_DAY into INT values
SUB_DATE_DATE
Subtract DATE from DATE
SUB_DT_DT
Subtract DATE_AND_TIME from DATE_AND_TIME
SUB_DT_TIME
Subtract TIME from DATE_AND_TIME
SUB_TOD_TIME
Subtract TIME from TIME_OF_DAY
SUB_TOD_TOD
Subtract TIME_OF_DAY from TIME_OF_DAY
F instructions