>George
>
>
lIsLeapYr = (nyear % 4 = 0) AND (nyear % 400 = 0)
>
>it works for 2000, but not for 2004. why ?
>
>txs
I was writing my last while I had one foot out the door. So from home
IsLeapYr = (nYear % 4 = 0) AND (NOT (nYear % 100 = 0) OR (nYear % 400 = 0))
I think should do the trick.
I'm having so much trouble with truth tables to-day, I'm pronouncing them "tooth tables".< bg >
George
Ubi caritas et amor, deus ibi est