The DATE data type saves the date as an unsigned integer. The representation contains the year, the month, and the day.
The contents of an operand of DATE data type correspond in hexadecimal format to the number of days since 01-01-1990 (16#0000).
The following table shows the properties of data type DATE:
Length (bytes) | Format | Value range | Example of value inputs |
---|---|---|---|
2 | IEC date (Year-Month-Day) |
D#1990-01-01 to D#2169-06-06 | D#2009-12-31, DATE#2009-12-31 |