>Jim it returns .T. for all the years ????
>
>
>>Akhan,
>>
>>Here's a UDF that skips the math stuff;
>>
>>
>>PROCEDURE IsLeapYear(tnYear)
>>
>>RETURN MONTH(DATE(tnYear,2,27) + 1 ) = 2
>>
Jim made a correction to his formula. It should be 28 instead of 27.
RETURN MONTH(DATE(tnYear,2,28) + 1 ) = 2
Semper ubi sub ubi.