xHarbour Reference Documentation > Function Reference |
Calculates the numeric calendar week from a date.
Week( [<dDate>] ) --> nWeekOfYear
The function returns a numeric value. It is the week number that includes <dDate>. If an invalid date is passed, the return value is zero.
See also: | Day(), Month(), WoM(), Year() |
Category: | CT:DateTime , Date and time |
Source: | ct\dattime2.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com