Determines whether a specified year is a leap year.
[Visual Basic] Public Shared Function IsLeapYear( _ ByVal year As Integer _ ) As Boolean [C#] public static bool IsLeapYear( int year ); [C++] public: static bool IsLeapYear( int year ); [JScript] public static function IsLeapYear( year : int ) : Boolean;
true if the year is a leap year; otherwise, false.
The IsLeapYear method is used to determine whether a specified year is a leap year and returns a Boolean determination for the result.
DateTime Structure | DateTime Members | System Namespace | Boolean | Calendar