Garry's Mod Wiki

Garry's Mod Wiki

  string string.NiceTime( number num )

Description

Formats the supplied number (in seconds) to the highest possible time unit.

Arguments

1 number num
The number to format, in seconds.

Returns

1 string
A nicely formatted time string.

Example

Output:
10 minutes 10 minutes 11 minutes 1 hour 1 year

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...