xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

LastDayoM()

Returns the number of days in a month.

Syntax

LastDayoM( <dDate>|<nMonth> ) --> nDaysInMonth

Arguments

<dDate>
Any Date value, except for an empty date, can be passed. The default is the return value of Date().
<nMonth>
Alternatively, the numeric month between 1 and 12 can be passed.

Return

The function returns the number of days of the specified month as a numeric value.

Info

See also:DaysInMonth(), EoM()
Category: CT:DateTime , Date and time
Source:ct\dattime2.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe