BIS fnc isLeapYear: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 33: | Line 33: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:isLeapYear}}]] | [[Category:Functions|{{uc:isLeapYear}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:isLeapYear}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:isLeapYear}}]] |
Revision as of 08:50, 10 October 2020
Description
- Description:
- Returns true if given year is a leap year, otherwise false.
- Execution:
- call
- Groups:
- Uncategorised
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
- 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