{"name":"systemTime","operator":null,"title":"systemTime","type":"command","url":"https://community.bistudio.com/wiki/systemTime","revid":347950,"updated":"2023-11-07T05:40:08Z","groups":["Time"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.00"}],"since":{"game":"arma3","name":"Arma 3","version":"2.00"},"arma3_since":"2.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns system time.","syntaxes":[{"syntax":"systemTime","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":null,"types":["Array","Number"],"description":null,"text":"Array of Numbers in format [year, month, day, hour, minute, second, millisecond]"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nprivate _currentTime = systemTime;\n```","code":["private _currentTime = systemTime;"]},{"text":"```sqf\nsystemTime apply {if (_x < 10) then {\"0\" + str _x} else {str _x}}; // [\"2021\",\"05\",\"03\",\"14\",\"09\",\"37\",\"593\"]\n```","code":["systemTime apply {if (_x < 10) then {\"0\" + str _x} else {str _x}}; // [\"2021\",\"05\",\"03\",\"14\",\"09\",\"37\",\"593\"]"]},{"text":"```sqf\nsystemTime params [\"_year\", \"_month\", \"_day\", \"_hour\", \"_minute\", \"_second\", \"_millisecond\"];\n```","code":["systemTime params [\"_year\", \"_month\", \"_day\", \"_hour\", \"_minute\", \"_second\", \"_millisecond\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["systemTimeUTC","date","time","dayTime","diag_tickTime","serverTime","missionStart","diag_deltaTime"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Time","Introduced with Arma 3 version 2.00","Scripting Commands"]}