G.SysTime

From GMod Wiki

Revision as of 19:24, 11 November 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax SysTime( )
Where is this used?
Description:
Returns the time of the system. This is updated a lot more often than CurTime() and RealTime(), so it's useful for benchmarking, for instance.
Returns: String
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.SysTime]G.SysTime [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionPrint the current time of the system to the console
Used onNewerShared.png
Code
print( SysTime() )
OutputThe current system time.


See also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox