Is it a Leap Year?   
 

Do you want to know if a date falls in a leap year:

<%
Dim iYear

iYear = Year(Date)

if (iYear mod 4 = 0) AND ((iYear mod 100 <> 0) OR (iYear mod 400 = 0)) then
    ' It is a Leap Year
end if
%>

The Result:
2010 is NOT a Leap Year
 
My3C's
perrychicker
It's easy... it's a PSACAKE!
Back | Tell A Friend | Search this Site
© 1998 - 2010 psacake.com
Version 3.23

Send me One Million FREE Guaranteed Visitors