code/_helpers/time.dm

/proc/Uptime | % appears to round down floats, hence below values all being integers Real time since the server started. Same concept as REALTIMEOFDAY. |
---|---|
/proc/time_to_readable | Converts an integer of world.time to a user-readable string split into time measurements from seconds to years. |