Structure SystemTimeDatePermalink

This structure contains the following information on the real time given by the local system clock. It is used by the function block CurTimeEx.

⮫ “CurTimeEx”

Component

Data type

Description

dwLowMSecs

DWORD

The value of the real-time clock is returned in microseconds, using a Low DWORD plus a High DWORD, see Structure SysTime64.

⮫ “Structure SysTime64”

dwHighMsec

DWORD

Year

UINT

Year, e.g. "2002"

Month

UINT

Month, e.g. "12"

Day

UINT

Day of month, e.g. "3"

Hour

UINT

Hour of the current day, e.g. "13"

Minute

UINT

Minutes of the current hour, e.g. "43"

Second

UINT

Seconds of the current minute, e.g. "15"

Milliseconds

UINT

Milliseconds of the current second, e.g. "649"

DayOfWeek

UINT

Day of the week, e.g. "2" (Sunday=0, Monday = 1...)