systemTimeUTC: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "[[daytime" to "[[dayTime") |
||
Line 16: | Line 16: | ||
|x2= <code>[[systemTime]] [[apply]] {[[if]] (_x [[a less b|<]] 10) [[then]] {"0" [[+]] [[str]] _x} [[else]] {[[str]] _x}<nowiki>}</nowiki>; {{cc|["2021","05","03","14","09","37","593"]}}</code> | |x2= <code>[[systemTime]] [[apply]] {[[if]] (_x [[a less b|<]] 10) [[then]] {"0" [[+]] [[str]] _x} [[else]] {[[str]] _x}<nowiki>}</nowiki>; {{cc|["2021","05","03","14","09","37","593"]}}</code> | ||
|seealso= [[systemTime]], [[date]], [[time]], [[ | |seealso= [[systemTime]], [[date]], [[time]], [[dayTime]], [[diag_tickTime]], [[serverTime]], [[missionStart]], [[diag_deltaTime]] | ||
}} | }} |
Revision as of 00:03, 13 July 2021
Description
- Description:
- Returns systemTime according to Universal Time Coordinated time scale.
- Groups:
- Time
Syntax
- Syntax:
- systemTimeUTC
- Return Value:
- Array in format [year, month, day, hour, minute, second, millisecond]
Examples
- Example 1:
_UKTime = systemTimeUTC;
- Example 2:
systemTime apply {if (_x < 10) then {"0" + str _x} else {str _x}}; // ["2021","05","03","14","09","37","593"]
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