getTimeDescription

Returns a readable textual description of the time. The exact format of the string returned will depend on the magnitude of the time e.g. "1 min 4 secs", "1 hr 45 mins", "2 weeks 5 days", "140 ms" so that only the two most significant units are printed.

Syntax

getTimeDescription(seconds)

Returns

returns (string) a readable textual description of the time

Parameters

seconds (double)
seconds of the duration to be described