From Garry's Mod
Revision as of 03:37, 24 July 2016 by Zerf
Returns the system time in seconds past the unix epoch. If a table is supplied, the function attempts to build a system time with the specified table members.
Table to generate the time from. This table's data is interpreted as being in the local timezone. See DateData structure
Seconds passed since Unix epoch
Prints out the current time, in seconds past the unix epoch.
print( os.time() )