Function IsLeapYear( nYear ) Return Iif( nYear%100 == 0, (nYear%400 == 0), (nYear%4 == 0) )