TinyMUX

Digittime()

Functions

FUNCTION: digittime(<seconds>)

This function converts a number of <seconds> to a digital time string and prepends the number of days if the time is greater than 23:59.

Example:

> say digittime(2345)
You say, "00:39"
> say digittime(123456)
You say, "1d 10:18"

Related Topics: writetime(), singletime(), exptime(), secs(), time().