The only "thing" with this solution is that you are depending on the DATE function to work properly...I am not saying that is doesn't work with every date, but I am not sure. With the other solutions, I am more sure that the necessary VFP functions work properly.
Joe
>>I need a function to calculate leap years. Any suggestions? Thanks,
>>
>Hi Raef,
>
>Another one...
>llIsLeap = NOT EMPTY(DATE(YEAR(tdate), 2, 29))
>Hmm, this seems familiar.
Joseph C. Kempel
Systems Analyst/Programmer
JNC