BIS fnc isLeapYear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.10
|1.10


|gr1 = Math
|gr1= Math


|gr2 = Environment
|gr2= Environment


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

Revision as of 12:41, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
MathEnvironment

Syntax

Syntax:
Syntax needed
Parameters:
year: Number - a non-decimal number (a.k.a integer)
Return Value:
Return value needed

Examples

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

Additional Information

See also:
date

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note