Function Block DAY

The Function Block DAY calculates the day of a date.

Input DT

With DT, a date can be specified in DT#. If no value is set, the current time is used.

Output DAY

The output provides the current day of the date. This value ranges between 1 and 31.