DateTime isLeapYear

From Catglobe Wiki
Revision as of 09:27, 12 December 2011 by Cg pham (talk | contribs)
Jump to: navigation, search




DateTime_isLeapYear

Check whether year is leap year or not

Syntax

DateTime_isLeapYear(year)

Arguments

  • year: is number

Return value

bool

Example

number year = 1998;

print(DateTime_isLeapYear(year));

Availability

Version 5.7