BIS fnc compareDateTimes: Difference between revisions
Jump to navigation
Jump to search
(Initial Export) |
m (formatting) |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.86| | |1.86|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns the newer date or returns true if they are identical. |Description= | ||
Returns the newer date or returns true if they are identical | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [date_1,date_2] call [[BIS_fnc_CompareDateTimes]] |Syntax= | ||
|p1= '''date_1''': [[Array]] - Date No. 1|Parameter 1= | |||
|p1= |= Parameter | |p2= '''date_2''': [[Array]] - Date No. 2 |Parameter 2= | ||
| | | | [[Boolean]] or [[Array]] |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= | |x1= <code>[ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_CompareDateTimes]];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | |[[date]], [[BIS_fnc_IsDateTimeNewer]], [[BIS_fnc_CalculateDateTime]]|See also= | ||
}} | }} | ||
[[Category:Function Group: DateTime|{{uc:CompareDateTimes}}]] | [[Category:Function Group: DateTime|{{uc:CompareDateTimes}}]] | ||
[[Category:Functions|{{uc:CompareDateTimes}}]] | [[Category:Functions|{{uc:CompareDateTimes}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:CompareDateTimes}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:CompareDateTimes}}]] |
Revision as of 14:52, 9 December 2018
Description
- Description:
- Returns the newer date or returns true if they are identical.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [date_1,date_2] call BIS_fnc_CompareDateTimes
- Parameters:
- date_1: Array - Date No. 1
- date_2: Array - Date No. 2
- Return Value:
- Boolean or Array
Examples
- Example 1:
[ [2035,5,28,13,37],[2032,5,28,13,37] ] call BIS_fnc_CompareDateTimes;
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