F_BACnet_CheckDayOfWeek : USINT
Application
Function for checking the validity of a numerical date value (BYTE) for the day of the week. The return value matches a valid value for the day of the week, or undefined as a numerical code (*). See BACnet specification DIN EN ISO 16484-5 for data type BACnetDateTime.
Attention: The input value is also corrected (nIn).
VAR_IN_OUT
nIn : BYTE;
nIn: Numerical day of the week value to be checked (1 to 7 valid; otherwise converted to 255 → undefined)