Garry's Mod Wiki

system.AppTime

  number system.AppTime()

Description

Returns the total uptime of the current application as reported by Steam.

This will return a similar value to SysTime.

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

Returns

1 number
Seconds of game uptime as an integer.