F_BA_DaysInMonth

The function F_BA_DaysInMonth of return type UDINT determines from a given date stBACnetDate the number of days of the given month, provided that the month and the year are not evaluated as unspecified, i.e. with 16#FF. In case of missing specification the return value of the function is 16#FFFFFF.
Syntax
FUNCTION F_BA_DaysInMonth : UDINT
VAR_INPUT
stBACnetDate : ST_BA_Date;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
stBACnetDate |
Date from whose month the number of days is to be determined. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |