endMth Function

Calculates the last date in the month of the specified date.


date endMth(date date)

Parameter

Description

date

A date value that indicates a year, month, and day.

The date value of the last day in the specified month.

  • endMth(02\02\1988); //Returns the date 29\02\1988 because 1988 is a leap year.

  • endMth(02\02\1989); //Returns the date 28\02\1989.

Community Additions

ADD
Show: