Arma 3 Scripting

Function in Environment

BIS_fnc_showTime

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

Description

Shows time gap between two dates.

Syntax

[startDate, endDate] spawn BIS_fnc_showTime

Parameters:

Returns: Resource Layer

Examples

Example 1

private _dayStart = date;
_dayStart set [3, 0]; // set hours to 0
_dayStart set [4, 0]; // set minutes to 0
_now = date;
[_dayStart, _now] spawn BIS_fnc_showTime;

See also

date · BIS_fnc_secondsToString