Jump to content

API Time.GetLeapYear

From Flowcode Help
Revision as of 11:42, 16 January 2023 by Wiki bot (talk | contribs)
GetLeapYear
Returns true if the given year is a leap year, else false 
- LONG Year
The year to check for a leap-year 
- BOOL Return


Detailed description

No additional information


Examples

Calling in a calculation

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

No additional examples