ISLEAPYEAR()
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(), LEAPYEARS(), 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