systemTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Time |GROUP1=
|gr1= Time |GROUP1=
____________________________________________________________________________________________


| Returns system time. |DESCRIPTION=
| Returns system time. |DESCRIPTION=
____________________________________________________________________________________________


| [[systemTime]] |SYNTAX=
| [[systemTime]] |SYNTAX=


| [[Array]] in format [year, month, day, hour, minute, second, millisecond] |RETURNVALUE=
| [[Array]] in format [year, month, day, hour, minute, second, millisecond] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>_currentTime = [[systemTime]];</code> |Example1=
|x1= <code>_currentTime = [[systemTime]];</code> |Example1=
____________________________________________________________________________________________


| [[systemTimeUTC]], [[date]], [[time]], [[daytime]], [[diag_tickTime]], [[serverTime]], [[missionStart]], [[diag_deltaTime]] |SEEALSO=
| [[systemTimeUTC]], [[date]], [[time]], [[daytime]], [[diag_tickTime]], [[serverTime]], [[missionStart]], [[diag_deltaTime]] |SEEALSO=

Revision as of 04:57, 17 January 2021

Hover & click on the images for description

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:
_currentTime = systemTime;

Additional Information

See also:
systemTimeUTCdatetimedaytimediag_tickTimeserverTimemissionStartdiag_deltaTime

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

Notes

Bottom Section