G.RealTime

From GMod Wiki

Jump to: navigation, search
Function
Syntax RealTime( )
Where is this used?
Description:
If used on the server, gets the current time in seconds since server start.
Returns: Float
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.RealTime]G.RealTime [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionOutputs current time to console.
Used onNewerShared.png
Code
Msg("Current time: " .. RealTime() .. "\n")
OutputN/A

Additional Info

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox