BIS fnc compareDateTimes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Some wiki formatting)
Line 8: Line 8:
|descr= Returns the newer date or returns true if they are identical.
|descr= Returns the newer date or returns true if they are identical.


|s1= [date1,date2] call [[BIS_fnc_compareDateTimes]]
|s1= [date1, date2] call [[BIS_fnc_compareDateTimes]]


|p1= date1: [[Array]] - date 1
|p1= date1: [[Array]] format [[Date]]
|p2= date2: [[Array]] - date 2
|p2= date2: [[Array]] format [[Date]]


|r1= [[Boolean]] or [[Array]]
|r1= [[Boolean]] or [[Array]]

Revision as of 19:43, 3 May 2022

Hover & click on the images for description

Description

Description:
Returns the newer date or returns true if they are identical.
Execution:
call
Groups:
Environment

Syntax

Syntax:
[date1, date2] call BIS_fnc_compareDateTimes
Parameters:
date1: Array format Date
date2: Array format Date
Return Value:
Boolean or Array

Examples

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

Additional Information

See also:
date BIS_fnc_isDateTimeNewerBIS_fnc_calculateDateTime

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