IsLeapDay
Returns a boolean indicating if the specific day is a leap day.
Public Function IsLeapDay(
ByVal Year As Long,
ByVal Month As Long,
ByVal Day As Long,
Optional ByRef Era As Variant ) As Boolean
Parameters
- Year
-
[ByVal]
Long.
The year the day is in.
- Month
-
[ByVal]
Long.
The month the day is in.
- Day
-
[ByVal]
Long.
The day to check if is a leap day.
- Era
-
[ByRef]
Optional.
Variant.
The era the year is in.
Return Values
Boolean - Boolean indication if the day is a leap day.
Remarks
A leap day only exists in a leap year, such as February 29th in the ThaiBuddhist calendar.
See Also
Project CorLib Overview
Class ThaiBuddhistCalendar Overview