BIS fnc fixDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
m (Text replacement - "\|s1= +" to "|s1= ")
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.10
|1.10


|gr1= Math
|gr1= Math
Line 9: Line 8:
|gr2= Environment
|gr2= Environment


| Checks the array with date data and makes sure, the values are within the boundries.
|descr= Checks the array with date data and makes sure, the values are within the boundries.


| date call [[BIS_fnc_fixDate]]
|s1= date call [[BIS_fnc_fixDate]]


|p1= date: [[Array]] - Date to be checked in form of: [year, month, day, hour, minute]
|p1= date: [[Array]] - Date to be checked in form of: [year, month, day, hour, minute]

Revision as of 16:31, 19 June 2021

Hover & click on the images for description

Description

Description:
Checks the array with date data and makes sure, the values are within the boundries.
Execution:
call
Groups:
MathEnvironment

Syntax

Syntax:
date call BIS_fnc_fixDate
Parameters:
date: Array - Date to be checked in form of: [year, month, day, hour, minute]
Return Value:
Array - Fixed date [year, month, day, hour, minute]

Examples

Example 1:
_fixedDate = [2033,-2,89,25,75] call BIS_fnc_fixDate;

Additional Information

See also:
datesetDate

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