Josh,
You can use the new ^ date constant specifier to avoid set date issues.
>This will work, but it depends on your SET DATE settings.
>
>>
>>Hi Jim,
>>Fox knows which years are leap years...
>>FUNCTION LeapYear
>>LPARAMETER nYear
>>RETURN CTOD("29/2/" + LTRIM(STR(m.nYear))) <> {}