Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour tools help- GT lib - Norton Guide http://www.X-Hacker.org [<<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.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson