Arma 3 Scripting

Function in Environment

BIS_fnc_isDateTimeNewer

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns true if the first passed datetime is newer than the second one.

Syntax

[date1, date2] call BIS_fnc_isDateTimeNewer

Parameters:

Returns: Boolean

Examples

Example 1

private _isNewer = [[2035,5,28,13,37], [2032,5,28,13,37]] call BIS_fnc_isDateTimeNewer;

See also

date · BIS_fnc_compareDateTimes · BIS_fnc_calculateDateTime