Help Center

AfxDaysInYearfunction

Returns the number of days in the specified year.

DateTimefunctionAfxTime.incdocumented

Syntax

FUNCTION AfxDaysInYear (BYVAL nYear AS LONG) AS LONG

Parameters

NameDescription
nYearA 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