Function Block T2DT

The Function Block T2STR converts and extends the data type T# with the current date to DT#.

Tip: To create an offset on a date, then the Function Block STR2DT can be used.

Input PT

The input provides the time in T#, which is combined with the current date.

Output DT

Returns the specified time with the date from midnight as data type DT#. The output is recalculated at midnight.