string.ToMinutesSeconds

From Garry's Mod
Jump to: navigation, search
 string.ToMinutesSeconds( )

Contents

Description

Returns given time in "MM:SS" format.

Arguments

number time

Time in seconds

Returns

string

Formatted time

Examples

Example

Example of using this function

print( string.ToMinutesSeconds( 61 ) )

Output:

01:01
Personal tools
Navigation