AfxWeeksInYearfunction
Returns the number of weeks in the year, where weeks are taken to start on Monday. Will be 52 or 53.
Syntax
FUNCTION AfxWeeksInYear (BYVAL nYear AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
nYear | A four digit year. |
Description
Returns the number of weeks in the year, where weeks are taken to start on Monday. Will be 52 or 53.
Reference
- Include file
AfxTime.inc - Defined in AfxNova/AfxTime.inc:503
- Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures