Function to Determine If a Given Year is a Leapyear.
Category:Dates and Math
Use this function to determine if a given year is a leap year. Simply call this function passing in the year as type integer. Such as IsLeapYear(2000).
Instructions: Copy the declarations and code below and paste directly into your VB project.