cDateTimeStatic: IsLeapYear |
Returns a boolean indicating if the specific Gregorian year is a leap year.
Public Function IsLeapYear( ByVal Year As Long ) As Boolean
Only the Gregorian calendar is supported through the cDateTime functions. To determine leap years for other calendar types, an instance of the specific calendar will need to be used.
If the year is evenly divisible by 4 or 400 and not by 100 then it is a leap year.
Project VBCorLib Overview Class cDateTimeStatic Overview cDateTimeStatic Properties cDateTimeStatic Methods FromOADate MaxValue (get)