TIMESTRUCT
Time in system time format.
TYPE TIMESTRUCT
STRUCT
wYear : WORD;
wMonth : WORD;
wDayOfWeek : WORD;
wDay : WORD;
wHour : WORD;
wMinute : WORD;
wSecond : WORD;
wMilliseconds : WORD;
END_STRUCT
END_TYPE
wYear: the year: 1970 ~ 2106;
wMonth: the month: 1 ~ 12 (January = 1, February = 2, etc.);
wDayOfWeek: the day of the week: 0 ~ 6 (Sunday = 0, Monday = 1 etc. );
wDay: the day of the month: 1 ~ 31;
wHour: hour: 0 ~ 23;
wMinute: minute: 0 ~ 59;
wSecond: second: 0 ~ 59;
wMilliseconds: millisecond: 0 ~ 999;
Requirements
Development environment |
Target platform |
PLC libraries to be integrated (category group) |
---|---|---|
TwinCAT v3.1.0 |
PC or CX (x86, x64, ARM) |
Tc2_Utilities (System) |