Difference between revisions of "systemTime"
Jump to navigation
Jump to search
killzone_kid (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{RV|type=command |
− | |||
− | | | + | |game1= arma3 |
+ | |version1= 2.00 | ||
− | | | + | |gr1= Time |
− | |||
− | | Returns system time. | + | |descr= Returns system time. |
− | |||
− | | [[systemTime]] | + | |s1= [[systemTime]] |
− | | [[Array]] in format [year, month, day, hour, minute, second, millisecond] | + | |r1= [[Array]] in format [year, month, day, hour, minute, second, millisecond] |
− | |||
− | |x1= < | + | |x1= <sqf>private _currentTime = systemTime;</sqf> |
− | |||
− | | [ | + | |x2= <sqf>systemTime apply {if (_x < 10) then {"0" + str _x} else {str _x}}; // ["2021","05","03","14","09","37","593"]</sqf> |
− | |||
− | < | + | |x3= <sqf>systemTime params ["_year", "_month", "_day", "_hour", "_minute", "_second", "_millisecond"];</sqf> |
− | |||
− | < | ||
− | + | |seealso= [[systemTimeUTC]] [[date]] [[time]] [[dayTime]] [[diag_tickTime]] [[serverTime]] [[missionStart]] [[diag_deltaTime]] | |
− | + | }} | |
− | |||
− | |||
− | |||
− | [[ | ||
− | [[ | ||
− | [[ | ||
− | |||
− | |||
− |
Latest revision as of 13:11, 4 May 2022
Description
- Description:
- Returns system time.
- Groups:
- Time
Syntax
- Syntax:
- systemTime
- Return Value:
- Array in format [year, month, day, hour, minute, second, millisecond]
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note