SystemTime: Difference between revisions

From Zandronum Wiki
No edit summary
No edit summary
Tag: Source edit
 
Line 4: Line 4:


== Usage ==
== Usage ==
Returns the system time as a 32-bit signed integer timestamp. The <tt>acstime</tt> CCMD, however, can override the result of this function.
=== Return value ===
Returns the system time as a 32-bit signed integer timestamp. The <tt>acstime</tt> console command can override the result of this function.


Note that due to ACS's limitations, the timestamp is suspectible to the [http://en.wikipedia.org/wiki/Year_2038_problem year 2038 problem].
Note that due to ACS's limitations, the timestamp is suspectible to the [http://en.wikipedia.org/wiki/Year_2038_problem year 2038 problem].


== See Also ==
== Examples ==
*[[GetTimeProperty]]
{{noexamples}}
*[[Strftime]]


[[Category: ACS Functions]]
== See also ==
* [[GetTimeProperty]]
* [[Strftime]]
 
[[Category: ACS functions]]

Latest revision as of 02:09, 3 July 2022

This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

int SystemTime()

Usage

Return value

Returns the system time as a 32-bit signed integer timestamp. The acstime console command can override the result of this function.

Note that due to ACS's limitations, the timestamp is suspectible to the year 2038 problem.

Examples

This article lists no examples, please add one.

See also