Function Block DT2T

The function block DT2T extracts the time from a date.

Input DT

Defines a date with a time. For example, DT#2016-03-25-22:12:00.

Output PT

The calculated time as a number from midnight. For example, T#22h12m.