Windows Phone Developers

Thursday, August 14, 2008

Identify LeapYear using VB.NET

Check LeapYear using VB.NET

Sub CheckLeapYear()

Dim MyDate As DateTime

MyDate = New DateTime(2008, 8, 15)

If DateTime.IsLeapYear(MyDate.Year) = True Then

MsgBox("Specified year is a leap year")

End If

End Sub

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

No comments:

Post a Comment