Paul Grimes
From Deep Thought
Paul Grimes was born March 15, 1973 in Jacksonville, Florida.
Paul Grimes died on August 17, 2038 in Paris, Texas.
Contents |
[edit]
Fight
[edit]
Logic
[edit]
Leap
Time is a hard thing to manage. Leap years can be a pain. I have seen a lot of diffrent styles on determing if a year is or is not a leap year. Here is a simple method to help a pondering child to see how this is done. Note: This is not a great true to earth method, but a simple check.
Protected Function IsLeapYear(ByVal year As Integer) 'takes a normal four digit year.
Dim days As Integer = 0
If ((year Mod 4) = 0) Then
If (((year Mod 100) = 0) And ((year Mod 400) <> 0)) Then 'Normal year
'Check if the day entered is valid
days = 28
Else 'Leap year
days = 29
End If
Else 'Normal year
days = 28
End If
Return days
End Function
[edit]
Future
Pgrimes 17:22, 5 November 2007 (EST)
[edit]

