LASTDAY(<N month>, <N year>)
Evaluates the date of the last day of a month.
Returns <expN> last day of the month, or zero if invalid <month> or <year>.

<month> is in the range 1 to 12.
<year> is in the range 1 to 9999.

IF LASTDAY( MONTH(DATE()), YEAR(DATE()) )
<DO end of month processing>
ENDIF


Placed in the Public Domain by Tom Rettig Assoc.