Business Rules 10.7 | webMethods Business Rules Web Help | webMethods Business Rules Reference | Functions | Summary of Date Functions | int daysInMonth(int month, int year)
 
int daysInMonth(int month, int year)
Returns the number of days in the specified month in the given year.
Input Parameters
month
Integer The numeric month (1 = January, 2 = February, ..., 12 = December).
year
Integer The numeric 4-digit year.
Return Value
Integer The number of days in the specified month in the given year.