Jump to content

API Time.GetLeapYear

From Flowcode Help
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

Examples

Calling in a calculation

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