DateTimeSplit (FB)¶
FUNCTION_BLOCK DateTimeSplit
DateTimeSplit splits a date/time information in ms since the epoch 1.1.1970 00:00:00.0 into the components of a point in time.
This function block is intended to be used to visualize WarpClock date/time information during development / debugging.
- InOut:
Scope
Name
Type
Comment
Input
uliDateTimeULINTStart time in ms since the epoch 1.1.1970 00:00:00.0, default is the epoch
Output
uiYearUtil.YEARuiMonthUtil.MONTHuiDayUtil.DAYuiHourUtil.HOURuiMinuteUtil.MINUTEuiSecondUtil.SECONDuiMillisecondsUtil.MILLISECONDeWeekdayUtil.WEEKDAY