Arma 3 Scripting

Function in Math, Environment

BIS_fnc_monthDays

Also available as Markdown and JSON, or read the original wiki page.

Description

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

Syntax

[year, month] call BIS_fnc_monthDays

Parameters:

Returns: Number - number of days in given month

Examples

Example 1

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

See also

date · BIS_fnc_showTime · BIS_fnc_secondsToString