devxlogo

A Smart Way to Determine Whether a Year is a Leap Year

A Smart Way to Determine Whether a Year is a Leap Year

Use the following code:

 Public Function IsLeapYear(iYearToCheck As Integer) As BooleanIsLeapYear=IsDate(Format(

devx-admin

Share the Post: