Navigation

Operators and Keywords

Function List:

C++ API

: is_leap_year ()
: is_leap_year (year)

Return true if year is a leap year and false otherwise.

If no year is specified, is_leap_year uses the current year.

For example:

is_leap_year (2000)
   ⇒ 1

See also: weekday, eomday, calendar.

Package: octave