BIS fnc compareDateTimes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - "\[\[BIS[ _]fnc[ _]C" to "[[BIS_fnc_c")
Line 9: Line 9:
| Returns the newer date or returns true if they are identical.
| Returns the newer date or returns true if they are identical.


| [date_1,date_2] call [[BIS_fnc_CompareDateTimes]]
| [date_1,date_2] call [[BIS_fnc_compareDateTimes]]
|p1= '''date_1''': [[Array]] - Date No. 1
|p1= '''date_1''': [[Array]] - Date No. 1
|p2= '''date_2''': [[Array]] - Date No. 2
|p2= '''date_2''': [[Array]] - Date No. 2
Line 15: Line 15:
| [[Boolean]] or [[Array]]
| [[Boolean]] or [[Array]]


|x1= <code>[ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_CompareDateTimes]];</code>
|x1= <code>[ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_compareDateTimes]];</code>


|[[date]], [[BIS_fnc_IsDateTimeNewer]], [[BIS_fnc_calculateDateTime]]
|[[date]], [[BIS_fnc_IsDateTimeNewer]], [[BIS_fnc_calculateDateTime]]

Revision as of 23:54, 27 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Environment

Syntax

Syntax:
Syntax needed
Parameters:
date_1: Array - Date No. 1
date_2: Array - Date No. 2
Return Value:
Return value needed

Examples

Example 1:
[ [2035,5,28,13,37],[2032,5,28,13,37] ] call BIS_fnc_compareDateTimes;

Additional Information

See also:
See also needed

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