Basics
44
1.4.1.11 DATE
Variable values of the data type DATE are date literals. The range of values for DATE values is from
D#2001-01-01–D#2099-12-31.
Description Examples
Short prefix D#2010-06-07
d#2010-06-07
Long prefix DATE#2010-06-07
date#2010-06-07
Internal
representation
Seconds after 2001-01-01
Advantages:
Facilitates all kinds of calculations for date and time
Well suited for solar tracking applications
- Sun's position, sunrise, sunset
- Conversions between universal time and local time
Building automation
Holidays (e.g. Easter holidays), daylight saving time
1.4.1.12 TIME_OF_DAY
Variable values of the data type TIME_OF_DAY are time of day literals. The range of values for TIME_OF_DAY
values is from TOD#00:00:00–TOD#23:59:59.
Description Examples
Short prefix TOD#15:36:55
tod#15:36:55
Long prefix TIME_OF_DAY#15:36:55
time_of_day#15:36:55
Internal
representation
Seconds after TOD#00:00:00
Advantages:
Facilitates all kinds of calculations for date and time
Well suited for solar tracking applications
- Sun's position, sunrise, sunset
- Conversions between universal time and local time
Building automation
Holidays (e.g. Easter holidays), daylight saving time