| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Calculates the week number in a month.
WoM( [<dDate>] ) --> nWeekOfMonth
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.
| See also: | Day(), Month(), Week(), Year() |
| Category: | CT:DateTime , Date and time |
| Source: | ct\datetime.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com