API Time.GetLeapYear

From Flowcode Help
Revision as of 11:55, 16 January 2023 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)