ISLEAPYEAR function
From Apache OpenOffice Wiki
< Documentation | How Tos
< {{#switch:Previous Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} | {{#switch:Next Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} > |
ISLEAPYEAR
Tests if a date is in a leap year.
This function is only available if the Analysis AddIn is installed.
Syntax:
ISLEAPYEAR(date)
- Returns 1 if date lies in a leap year, and 0 otherwise.
Example:
ISLEAPYEAR("2012-05-24")
- returns 1; 2012 is a leap year.
Issues:
- This function is not available in Excel. Try =MONTH(DATE(YEAR(date);2;29))=2 if you need compatibility with Excel.
{{#switch:EN
| RU = Смотрите также:
| UA = Дивіться також:
| EN = See Also
| PT = Ver também
| #default = See Also
}}