isLeapYear()

The function returns the information whether this is a leap year.

Synopsis

bool time.isLeapYear();

Description

The function returns the information whether this is a leap year (TRUE) or not (FALSE).

Return Value

The information whether a year is a leap year.

Example

main()
{
  time t = getCurrentTime();
  DebugN("Is this a leap year or not:", t.isLeapYear());
}

Assignment

Time function

Availability

UI,CTRL