F_BACnet_DaysInMonth : UDINT

F_BACnet_DaysInMonth : UDINT 1:

Application

Function for calculating the number of days in a given month of a year. Return value 16#FFFFFFFF means month and/or year is not specified. Leap years are taken into account.

Warning: No placeholders (255*) or special values ("all even months") may be used for years and months!

VAR_INPUT

stBACnetDate      : ST_BACnet_Date;

stBACnetDate:  BACnet time stamp as input value. Year and month must be valid.