BIS fnc monthDays: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.10
|1.10


|gr1 = Math
|gr1= Math


|gr2 = Environment
|gr2= Environment


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

Revision as of 13:41, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
MathEnvironment

Syntax

Syntax:
Syntax needed
Parameters:
year: Number - a non-decimal number
month: Number - a non-decimal number in range 1..12
Return Value:
Return value needed

Examples

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

Additional Information

See also:
dateBIS_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