VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Code that determines Leap Years

by Lj_Chooka (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 4th December 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Code that determines Leap Years

Rate Code that determines Leap Years



    LeapYear = (YYYY Mod 4 = 0) And ((YYYY Mod 100 <> 0) Or (YYYY Mod 400 <> 0))
End Function

Download this snippet    Add to My Saved Code

Code that determines Leap Years Comments

No comments have been posted about Code that determines Leap Years. Why not be the first to post a comment about Code that determines Leap Years.

Post your comment

Subject:
Message:
0/1000 characters