endMth Function

Calculates the last date in a particular month.


date endMth(date date)

Parameter

Description

date

The date to test.

The last date in the month of the month that is specified in date.

// Returns the date 29\02\1988 (leap year).
endMth(02\02\1988);
 
// Returns the date 28\02\1989.
endMth(02\02\1989);

Community Additions

ADD
Show: