[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DAYSINMONTH()
Gets the days in a month.
---------------------------------------------------------------------------------
Syntax
DAYSINMONTH( <dDate> ) --> nDays
Arguments
<dDate> A valid date.
Returns
<nDays> The number of days of the month.
Description
This function returns the number of days of the given date month.
Examples
? DaysInMonth( DToC( "01/01/2000" ) ) -> 31
? DaysInMonth( DToC( "02/01/2000" ) ) -> 29
Status
Ready
Compliance
This function is new in Harbour.
Platforms
All
Files
Library is libmisc
See Also: IsLeapYear()
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson