BIS fnc monthDays: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
||
Line 20: | Line 20: | ||
|x1= <code>[[private]] _daysInThisMonth = [<nowiki/>[[date]] [[select]] 0, [[date]] [[select]] 1] [[call]] [[BIS_fnc_monthDays]];</code> | |x1= <code>[[private]] _daysInThisMonth = [<nowiki/>[[date]] [[select]] 0, [[date]] [[select]] 1] [[call]] [[BIS_fnc_monthDays]];</code> | ||
|seealso= [[date]] | |seealso= [[date]] [[BIS_fnc_showTime]], [[BIS_fnc_secondsToString]] | ||
}} | }} |
Revision as of 12:53, 1 July 2022
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
- See also:
- date BIS_fnc_showTimeBIS_fnc_secondsToString
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