Garry's Mod Wiki

string.ToMinutesSeconds

  string string.ToMinutesSeconds( number time )

Description

Returns given time in "MM:SS" format.

Arguments

1 number time
Time in seconds

Returns

1 string
Formatted time

Example

Example of using this function

Output: 01:01