Garry's Mod Wiki

system.SteamTime

  number system.SteamTime()

Description

Returns the synchronized Steam time. This is the number of seconds since the Unix epoch.

This function does not work on Dedicated Servers and will instead return no value.

Returns

1 number
Current Steam-synchronized Unix time.