BIS fnc fixDate: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|gr2 = Environment |GROUP2= | |gr2 = Environment |GROUP2= | ||
| Checks the array with date data and makes sure, the values are within the boundries.|Description= | | Checks the array with date data and makes sure, the values are within the boundries.|Description= | ||
| date call [[BIS_fnc_fixDate]] |Syntax= | | date call [[BIS_fnc_fixDate]] |Syntax= | ||
Line 25: | Line 22: | ||
|exec= spawn |Execution= | |exec= spawn |Execution= | ||
---> | ---> | ||
|x1= <code>_fixedDate = [2033,-2,89,25,75] [[call]] [[BIS_fnc_fixDate]];</code>|Example 1= | |x1= <code>_fixedDate = [2033,-2,89,25,75] [[call]] [[BIS_fnc_fixDate]];</code>|Example 1= | ||
| [[date]], [[setDate]] |See also= | | [[date]], [[setDate]] |See also= |
Revision as of 23:08, 16 January 2021
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
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