SystemTime: Difference between revisions

From Zandronum Wiki
(Created page with "{{Template:ACSWarning}} int '''SystemTime'''() {{devfeature|3.0|150831-1814}} == Usage == Returns the system time as a 32-bit signed integer timestamp. The <tt>acstime</tt>...")
 
No edit summary
Tag: Source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Template:ACSWarning}}
{{Template:ACSWarning}}


int '''SystemTime'''() {{devfeature|3.0|150831-1814}}
int '''SystemTime'''()


== 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 01: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