Difference between revisions of "BIS fnc fixDate"
Jump to navigation
Jump to search
m (GVI 1.00 --> 1.10 http://dev.arma3.com/post/spotrep-00017) |
m (pf) |
||
Line 1: | Line 1: | ||
− | + | {{Function|Comments= | |
− | {{Function|= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | arma3 | | + | | arma3 |Game name= |
− | |1.10| | + | |1.10|Game version= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | + | | Checks the array with date data and makes sure, the values are within the boundries.|Description= |
− | + | ____________________________________________________________________________________________ | |
− | |||
− | |||
− | + | | date call [[BIS_fnc_fixDate]] |Syntax= | |
− | |||
− | |||
− | |||
− | + | |p1= date: [[Array]] - Date to be checked in form of: [year, month, day, hour, minute]|Parameter 1= | |
− | |||
− | |||
− | |||
− | |||
− | | | + | | [[Array]] - Fixed date [year, month, day, hour, minute]|Return value= |
− | | | + | <!--- |
− | + | |exec= spawn |= Execution | |
− | + | ---> | |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | |x1= <code></code> |= | + | |x1= <code>_fixedDate = [2033,-2,89,25,75] [[call]] [[BIS_fnc_fixDate]];</code>|Example 1= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | | + | | [[date]], [[setDate]] |See also= |
+ | }} | ||
− | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 00:52, 17 June 2018
Description
- Description:
- Checks the array with date data and makes sure, the values are within the boundries.
- Execution:
- call
- Groups:
- Uncategorised
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