Function Block TIME

The function block TIME returns the current date and time without milliseconds.

Tip: If milliseconds are required, use the function block MTIME instead.

Input DIS

If the input is true, the calculation is stopped and the last value from output DT is stored.

Output DT

The current date and time are output at the output in DT# format without milliseconds. The value is rounded to whole seconds.

See Also