BIS fnc fixDate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
|gr2= Environment | |gr2= Environment | ||
|descr= Checks the array with date data and makes sure | |descr= Checks the array with date data and makes sure the values are within the boundries. | ||
|s1= date call [[BIS_fnc_fixDate]] | |s1= date call [[BIS_fnc_fixDate]] | ||
|p1= date: [[Array]] - | |p1= date: [[Array]] format [[Date]] - date to be checked | ||
|r1= [[Array]] - | |r1= [[Array]] format [[Date]] - resulting date | ||
|x1= < | |x1= <sqf>private _fixedDate = [2033, -2, 89, 25, 75] call BIS_fnc_fixDate;</sqf> | ||
|seealso= [[date]] [[setDate]] | |seealso= [[date]] [[setDate]] | ||
}} | }} |
Latest revision as of 11:16, 27 July 2022
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 format Date - date to be checked
- Return Value:
- Array format Date - resulting date
Examples
- Example 1:
Additional Information
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