EOMONTH (Date, Months?) EOMONTH (Date; Months?)
Date
Temporal Temporal
The start date.
Months
Number Number (optional)
The number of months the start date should be advanced or set back. If omitted, 0 is assumed.
Returns
Temporal Temporal
A date representing the last day of a particular month.
Returns a date representing the last day of a particular month, potentially set back or advanced a number of months.
Examples
Returns a date representing May 31, 1981.
Returns a date representing May 31, 1981.
Returns a date representing June 30, 1983 (June 1, 1981, advanced 24 months).