BIS fnc isLeapYear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns true if given year is a leap year, otherwise false. |= Description
| Returns true if given year is a leap year, otherwise false. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| year call [[BIS_fnc_isLeapYear]] |= Syntax
| year call [[BIS_fnc_isLeapYear]] |SYNTAX=


|p1= year: [[Number]] - a non-decimal number (a.k.a integer) |= Parameter 1
|p1= year: [[Number]] - a non-decimal number (a.k.a integer) |= Parameter 1


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[date]] |= See also
| [[date]] |SEEALSO=
}}
}}



Revision as of 12:29, 7 April 2019

Hover & click on the images for description

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

Notes

Bottom Section