Leap year (OpenInsight Specific)
At 16 FEB 2001 01:52:19PM Oystein Reigem wrote:
Here's the kind of question I believe you guys love to respond to - about which years are leap years. Have I got it right when I assume that
- all years divisible by 4 are leap years
- except the ones divisible by 100
- except again the ones divisible by 400, which are leap years after all?
- Oystein -
At 16 FEB 2001 02:14PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Does this javaScript help
![]()
function LeapYear(intYear) {
if (intYear % 100 == 0) {
if (intYear % 400 == 0) { return true; }
}
else {
if ((intYear % 4) == 0) { return true; }
}
return false;
}
World Leaders in all things RevSoft
At 16 FEB 2001 02:50PM Oystein Reigem wrote:
Sprezz,
Agrees with what I thought. Thanks.
Time to go home. I'm knackered. Must have been that guy who kept me busy chatting earlier today. About emoticons and all kinds of stuff.
![]()
- Oystein -
At 17 FEB 2001 06:22AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
I'd complain to MS about the blatant anti-Norwegian bias of your emoticons!
World Leaders in all things RevSoft