{"name":"systemTimeUTC","title":"systemTimeUTC","type":"command","url":"https://community.bistudio.com/wiki/systemTimeUTC","revid":378414,"updated":"2026-04-04T08:38:50Z","groups":["Time"],"status":"ok","games":{"arma3":"2.00"},"since":"arma3 2.00","arma3_since":"2.00","description":"Returns systemTime according to **U**niversal **T**ime **C**oordinated time scale.","syntaxes":[{"syntax":"systemTimeUTC","params":[],"returns":{"type":"Array","type_expr":"Array","description":"with [year, month, day, hour, minute, second, millisecond]\n- year: Number - month: Number - day: Number - hour: Number - minute: Number - second: Number - millisecond: Number","text":"Array with [year, month, day, hour, minute, second, millisecond]\n\n- year: Number\n- month: Number\n- day: Number\n- hour: Number\n- minute: Number\n- second: Number\n- millisecond: Number"},"form":"nullary"}],"examples":[{"code":["private _UKTime = systemTimeUTC;"]},{"code":["systemTimeUTC apply { if (_x < 10) then { \"0\" + str _x } else { str _x } }; // [\"2021\",\"05\",\"03\",\"14\",\"09\",\"37\",\"593\"]"]},{"text":"```sqf\nprivate _timeUTC = systemTimeUTC;\nprivate _time = systemTime;\nprivate _timeDiffH = (_time select 3) - (_timeUTC select 3);\nprivate _timeDiffM = (_time select 4) - (_timeUTC select 4);\nif (_timeDiffM < 0) then\n{\n    _timeDiffH = _timeDiffH - 1;\n    _timeDiffM = _timeDiffM + 60;\n};\nif (_timeDiffH < -12) then\n{\n    _timeDiffH = _timeDiffH + 24;\n};\nif (_timeDiffH > 12) then\n{\n    _timeDiffH = _timeDiffH - 24;\n};\nprivate _timeZone = [_timeDiffH, _timeDiffM]; // hour (_timeDiffH) is in range -12..+12\n```","code":["private _timeUTC = systemTimeUTC;\nprivate _time = systemTime;\nprivate _timeDiffH = (_time select 3) - (_timeUTC select 3);\nprivate _timeDiffM = (_time select 4) - (_timeUTC select 4);\nif (_timeDiffM < 0) then\n{\n\t_timeDiffH = _timeDiffH - 1;\n\t_timeDiffM = _timeDiffM + 60;\n};\nif (_timeDiffH < -12) then\n{\n\t_timeDiffH = _timeDiffH + 24;\n};\nif (_timeDiffH > 12) then\n{\n\t_timeDiffH = _timeDiffH - 24;\n};\nprivate _timeZone = [_timeDiffH, _timeDiffM]; // hour (_timeDiffH) is in range -12..+12"]}],"see_also":["systemTime","date","time","dayTime","diag_tickTime","serverTime","missionStart","diag_deltaTime"]}