{"name":"BIS_fnc_paramDaytime","title":"BIS fnc paramDaytime","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_paramDaytime","revid":352533,"updated":"2024-02-12T16:42:18Z","groups":["Mission Parameters"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","locality":{"server_exec":true},"description":"Sets time of the day to the hour. Minutes will always be zero.","syntaxes":[{"syntax":"datetime call BIS_fnc_paramDaytime","params":[{"name":"datetime","type":"Number or Array","optional":true,"default":"dayTime","description":"Number - day hour. This will set the hour **in the same day** (unless 23 < *hour* < 0).\n  Float numbers are floored\n- Array - dayTime format: [year, month, day, hour, minute]","type_expr":"Number | Array","text":"datetime: Number or Array - (Optional, default dayTime):\n\n- Number - day hour. This will set the hour **in the same day** (unless 23 < *hour* < 0).\n  Float numbers are floored\n- Array - dayTime format: [year, month, day, hour, minute]"}],"returns":{"type":"Array","type_expr":"Array","description":"set date"}}],"examples":[{"code":["private _date = 12 call BIS_fnc_paramDaytime;"]},{"code":["private _date = [2001, 01, 01, 12, 00] call BIS_fnc_paramDaytime;"]},{"code":["private _date = call BIS_fnc_paramDaytime;"]}],"see_also":["dayTime","date","setDate","Mission Parameters"]}