AfxWeekNumberfunction
Returns the week number for a given date. The year must be a 4 digit year.
Syntax
FUNCTION AfxWeekNumber (BYVAL nDay AS LONG, BYVAL nMonth AS LONG, BYVAL nYear AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
nDay | A day number (1-31). | |
nMonth | A month number (1-12). | |
nYear | A four digit year. |
Description
Returns the week number for a given date. The year must be a 4 digit year.
Reference
- Include file
AfxTime.inc - Defined in AfxNova/AfxTime.inc:483
- Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures