int = LastDateOfMonth(nYear,nMonth)
This macro function takes in 2 numbers (nYear and nMonth) and returns the date for the last day of the month on that year.
nNewYearsEve = LastDateOfMonth(2019, 12)
See also: FirstDateOfMonth and NumDaysInMonth.
Topic 105069, last updated on 18-Apr-2020