API Time.GetLeapYear

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png GetLeapYear
Returns true if the given year is a leap year, else false 
Fc9-s32-icon.png - LONG Year
The year to check for a leap-year 
Fc9-bool-icon.png - BOOL Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::Time.GetLeapYear(year)