|
The rleapyear() function returns 1 (TRUE) when the argument that is passed to it is a leap year and 0 (FALSE) when it is not.
The argument year must be the year component of a date and not the date itself. You must express the year in full form (1996) and not abbreviated form (96).