Documentation/How Tos/Calc: ISLEAPYEAR function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 07:23, 15 February 2008 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.

See also:

DAYSINMONTH

Information functions

Date & Time functions

Date & Time overview

Personal tools