Arma 3 Scripting

BIS_fnc_setDate

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Instantly set date and share it across network with optional transition effect.

Syntax

[value, global, transition] call BIS_fnc_setDate

Parameters:

Returns: Date - the new date

Examples

Example 1

[[2035, 12, 31, 23, 59], true, true] call BIS_fnc_setDate;

Example 2

[4, true, true] call BIS_fnc_setDate; // skip 4 hours. Same as image in description

Example 3

[30 / 60, true, true] call BIS_fnc_setDate; // skip 30 minutes and show a "30 minutes later" message

See also

date · setDate · skipTime