Arma 3 Scripting

BIS_fnc_showTime

  • Runs with spawn
  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · 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