Days in the month
──────────────────────────────────────────────────────────────────────────────

Syntax

GT_MDAYS( dValue ) -> nDaysInMonth

Arguments:

<dValue> is a valid Clipper date

Returns:

A numeric value of the number of days in the month of the
parameter date

Description:

GT_MDAYS() can be used to get the number of days in the month for
a given date

Examples:


? "Days in this month ", GT_MDAYS( DATE() )

result : Days in this month 31


Source: GT_MDAYS.PRG

Author: George Brennan