Please enable JavaScript to view this site.

 

int = FirstDateOfMonth(nYear,nMonth)

 

This macro function takes in 2 numbers (nYear and nMonth) and returns the date for the first of the month on that year.

nNewYearsDay = FirstDateOfMonth(20201)

See also: LastDateOfMonth and NumDaysInMonth.

 


Topic 105068, last updated on 18-Apr-2020