exptime - luxembourg/muxcode-clm GitHub Wiki

EXPTIME()

FUNCTION: exptime(<seconds>)

This function converts seconds to a number of time elements (hours, minutes, seconds) that is equivalent to the given number of <seconds>.

This is very similar to the writetime() function, but the elements are given their short names instead of long names.

Example: > say exptime(45) You say, "45s" > say exptime(12345) You say, "3h 25m 45s" > say exptime(123456) You say, "1d 10h 17m 36s"

Related Topics: writetime, singletime, digittime, secs, time