{"name":"BIS_fnc_monthDays","title":"BIS fnc monthDays","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_monthDays","revid":328404,"updated":"2022-07-13T16:00:49Z","groups":["Math","Environment"],"status":"ok","games":{"arma3":"1.10"},"since":"arma3 1.10","arma3_since":"1.10","description":"Returns number of days in given month. Takes in account for leap year.","syntaxes":[{"syntax":"[year, month] call BIS_fnc_monthDays","params":[{"name":"year","type":"Number","description":"a non-decimal number","type_expr":"Number"},{"name":"month","type":"Number","description":"a non-decimal number in range 1..12","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"number of days in given month"}}],"examples":[{"code":["private _daysInThisMonth = [date select 0, date select 1] call BIS_fnc_monthDays;"]}],"see_also":["date","BIS_fnc_showTime","BIS_fnc_secondsToString"]}