DaysInMonth

Top  Previous  Next

Function DaysInMonth

 

Returns the number of calendar days in a month.

 

Syntax

 

numDays = DaysInMonth( m, y )

 

Parameters

m, y

 

The month number, and year number

 

 

 

returns

 

returns number of days

 

Examples

 

PRINT DaysInMonth( 5, 1990 )

 

' PRINTS 31