GHI_GetPreciseTimeString

Pilus edited this page Aug 11, 2015 · 1 revision
Clone this wiki locally

Syntax:

GHI_GetPreciseTimeString(secs)

Arguments:

GHI_GetPreciseTimeString has 1 required argument.

secs
''Number''
The time in seconds.

Returns:

time
''String''
A descriptive string of time in minutes & seconds. It outputs in this format '''(mm:ss)'''

Example:

local time = GHI_GetPreciseTimeString(500)

print(time)

This script will print the number of seconds entered as a time string.