Sub IsLeapYear($year As Integer) As Boolean


Indicates whether the specified year is a leap year.


Parameters


  • $year ... Integer value.


Example:

Dim $year

$year = 2009
If IsLeapYear($year) Then
   ' actions
End If