Difference between revisions of "ISLEAPYEAR()"

From Lianjapedia
Jump to: navigation, search
Line 21: Line 21:
 
[[Category:Date and Time Data]]
 
[[Category:Date and Time Data]]
 
[[Category:Date and Time Data Functions]]
 
[[Category:Date and Time Data Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Revision as of 07:33, 10 December 2012

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, 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.