ISLEAPYEAR()

From Recital Documentation Wiki
Revision as of 15:08, 1 July 2011 by Yvonnemilne (Talk | contribs)

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

Purpose

Function to determine whether the specified year is a leap year


Syntax

ISLEAPYEAR(<expD> | <expT> | <expN>)


See Also

AMPM(), CDOW(), CMONTH(), CTOD(), CTOT(), DATE(), DATETIME(), DAYS(), DMY(), DOW(), DTOC(), DTOM(), DTOS(), DTOV(), ELAPTIME(), EPOCH(), GOMONTH(), HOUR(), HOURS(), MDY(), MINUTE(), MINUTES(), MONTH(), MTOD(), QUARTER(), SEC(), SECONDS(), SECS(), SET CENTURY, SET DATE, SET EPOCH, SET HOURS, SET MARK, SET SECONDS, SET VAXTIME, STOD(), TIME(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), VALIDTIME(), VTOD(), WEEK(), YEAR()

Description

The ISLEAPYEAR() function is used to determine whether the specified year is a leap year. The year can be specified as a date expression (<expD>), a datetime expression (<expT>) or as a numeric value (<expN>).


Example

? isleapyear(2012)
.T.


Products

Recital Server, Recital