8.4 DateType

This structure defines a calendar date. It allows to define a concrete date, e.g. 2022-02-12. By using wildcards, it also allows to define repeating dates, like every Wednesday, every odd day of a month, every 24th of December, every last day of a month in 2023, etc. Its composition is formally defined in Table 22.

Table 22 – DateType Structure
Name Type Description
DateTypestructure

Year

0:UInt16Years based on the Gregorian calendar, 0 is used as “unspecific”.

Month

MonthA specific Gregorian calendar month or relative (e.g. “odd”, “even”)

DayOfMonth

DayOfMonthA specific day of the month or relative (e.g. “last day”). Shall be “unspecific” if DayOfWeek is not “unspecific”.

DayOfWeek

DayOfWeekA specific day of the week. Shall be “unspecific” if DayOfMonth is not “unspecific”.

Its representation in the AddressSpace is defined in Table 23.

Table 23 – DateType Definition
Attribute Value
BrowseNameDateType
IsAbstractFalse
DescriptionThis structure defines a calendar date. It allows to define a concrete date, e.g. 2022-02-12. By using wildcards, it also allows to define repeating dates, like every Wednesday, every odd day of a month, every 24th of December, every last day of a month in 2023, etc.
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the 0:Structure
Conformance Units
Scheduler Scheduling Base
Scheduler Calendar Base