Determines whether the specified year is a leap year.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean datetime.isleapyear(integer year)

Parameters

Name Data Type Description
year Integer The year (1 through 9999).

Return Value

Data Type Description
Boolean True if the specified year is a leap year; otherwise, false.

Expand image Example

SXML