AfxDaysInYearfunction
Returns the number of days in the specified year.
Syntax
FUNCTION AfxDaysInYear (BYVAL nYear AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
nYear | A four digit year. |
Return value
The number of days: 365 (not leap year) or 366 (leap year).
Description
Returns the number of days in the specified year.
Reference
- Include file
AfxTime.inc - Defined in AfxNova/AfxTime.inc:573
- Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures