DTU.DTSplit (FB prefix: dts)

The function block of the CAA_DTUtil.library provides year, month, hour, minute and second from the IEC 6-1131-3 format DATE_AND_TIME.

Input:

dtDateAndTime

DATE_AND_TIME

Date / Time

Output:

uiYear

UINT

Year (1970..2099)

uiMonth

UINT

Month (1..12)

uiDay

UINT

Day (1..31)

uiHour

UINT

Hour (0..23)

uiMinute

UINT

Minute (0..59)

uiSecond

UINT

Second (0..59)