BIS fnc monthDays: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|gr2 = Environment |GROUP2= | |gr2 = Environment |GROUP2= | ||
| Returns number of days in given month. Takes in account for leap year. |DESCRIPTION= | | Returns number of days in given month. Takes in account for leap year. |DESCRIPTION= | ||
| [year, month] call [[BIS_fnc_monthDays]] |SYNTAX= | | [year, month] call [[BIS_fnc_monthDays]] |SYNTAX= | ||
Line 21: | Line 18: | ||
| [[Number]] - number of days in given month |RETURNVALUE= | | [[Number]] - number of days in given month |RETURNVALUE= | ||
|x1= <code>_daysInThisMonth = [<nowiki/>[[date]] [[select]] 0, [[date]] [[select]] 1] [[call]] [[BIS_fnc_monthDays]];</code> |EXAMPLE1= | |x1= <code>_daysInThisMonth = [<nowiki/>[[date]] [[select]] 0, [[date]] [[select]] 1] [[call]] [[BIS_fnc_monthDays]];</code> |EXAMPLE1= | ||
| [[date]], [[BIS_fnc_showTime]], [[BIS_fnc_secondsToString]] |SEEALSO= | | [[date]], [[BIS_fnc_showTime]], [[BIS_fnc_secondsToString]] |SEEALSO= |
Revision as of 23:26, 16 January 2021
Description
- Description:
- Returns number of days in given month. Takes in account for leap year.
- Execution:
- call
- Groups:
- MathEnvironment
Syntax
- Syntax:
- [year, month] call BIS_fnc_monthDays
- Parameters:
- year: Number - a non-decimal number
- month: Number - a non-decimal number in range 1..12
- Return Value:
- Number - number of days in given month
Examples
Additional Information
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