BIS_fnc_isLeapYear

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.10
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.10

Description

Description:
Returns true if given year is a leap year, otherwise false.

Syntax

Syntax:
year call BIS_fnc_isLeapYear
Parameters:
year: Number - a non-decimal number (a.k.a integer)
Return Value:
Boolean

Examples

Example 1:
_isLeapYear = 2035 call BIS_fnc_isLeapYear;
Example 2:
_isLeapYear = 2036 call BIS_fnc_isLeapYear; // 2036 is a leap year

Additional Information

Execution:
call
Multiplayer:
-
See also:
date

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section