xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

WoM()

Calculates the week number in a month.

Syntax

WoM( [<dDate>] ) --> nWeekOfMonth

Arguments

<dDate>
Any Date value, except for an empty date, can be passed. The default is the return value of Date().

Return

The function returns a numeric value. It is the week number of the month that includes <dDate>. If an invalid date is passed, the return value is zero.

Info

See also:Day(), Month(), Week(), Year()
Category: CT:DateTime , Date and time
Source:ct\datetime.c
LIB:xhb.lib
DLL:xhbdll.dll


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