DateTime (STRUCT)

TYPE DateTime : STRUCT

Two formats are supported:

  • Absolute format: defines an exact time. “uiYear”, “uiMonth”, “uiDay”, “uiHour”, “uiMinute” and “uiSecond” define the exact time. "uiWeekday” is of no importance.

  • Day of the month format: is selected by setting ”uiYear” to 0. „uiWeekday“ defines a weekday and “uiDay” specifies the day of the month in a value range of 1..5. This notation makes it possible to define the first Sunday in April as well as the last Thursday in October (“uiDay” = 1 corresponds to the first weekday in a month, “uiDay” = 5 corresponds to the last weekday in a month)

Note

The following applies for the summer time in Europe: The switch to summer time is done on the last Sunday in March. At 2:00 a.m. the clock is set ahead by one hour. The following applies for the winter time (standard time) in Europe: The switch to winter time is done on the last Sunday in October. At 3:00 a.m. the clock is set back by one hour.

InOut:

Name

Type

Comment

uiYear

YEAR

uiMonth

MONTH

uiDay

DAY

If Year = 0, then 1..5 1 => first day in this month, 5 => last day in this month

uiHour

HOUR

uiMinute

MINUTE

uiSecond

SECOND

uiMilliseconds

MILLISECOND

eWeekday

WEEKDAY