if day(date(nyear,3,1)-1)=29 it's a leap year
Peter
>>>>hello all
>>>>
>>>>is there any function for check if current year its a leap year ?
>>>>
>>>>txs
>>>
>>>If I remember correctly. If the year is divisible by 4 and it is not divisible by 100. By not divisible by 100 I mean the year 2000,2100,2200,.. are not leap years.
>>>
>>Einar,
>>
>>It's equally divisible by 400. 2000 was a leap year
>
>Lol I didn't correct myself fast enough. You are correct.
>As soon as I read your reply it made perfect sense that it was 400 and not 100.
Peter Cortiel