Please enable JavaScript to view this site.

 

int = NumDaysInMonth(nYear,nMonth)

 

This macro function takes in 2 numbers (nYear and nMonth) and returns the number of days in that month.

bIsLeapYear = (NumDaysInMonth(n_TokenYear, 2) == 29)

See also: NumWeeksInMonth.

 


Topic 105070, last updated on 18-Apr-2020