Description Usage Arguments Value Examples
If x is a recognized date-time object, leap_year will return whether x occurs during a leap year. If x is a number, leap_year returns whether it would be a leap year under the Gregorian calendar.
1 |
date |
a date-time object or a year |
TRUE if x is a leap year, FALSE otherwise
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.