Help Center

AfxIsLeapYearfunction

Determines if a given year is a leap year or not.

DateTimefunctionAfxTime.incdocumented

Syntax

FUNCTION AfxIsLeapYear (BYVAL nYear AS LONG) AS LONG

Parameters

NameDescription
nYearA four digit year.

Description

Determines if a given year is a leap year or not.

Reference

  • Include file AfxTime.inc
  • Defined in AfxNova/AfxTime.inc:519
  • Documented in DateTime/DateTime Procedures.md
  • Topic: Date and Time Procedures