BIS_fnc_monthDays

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version1.10
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.10

Description

Description:
Returns number of days in given month. Takes in account for leap year.

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

Example 1:
_daysInThisMonth = [date select 0, date select 1] call BIS_fnc_monthDays;

Additional Information

Execution:
call
Multiplayer:
-
See also:
dateBIS_fnc_showTimeBIS_fnc_secondsToString

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section