Take an amount of time and format it as a user-friendly string.
Take an amount of time and format it as a user-friendly string.
The output string is more human readable than machine friendly: it uses SI prefixes and always has roughly three digits of precision. This makes it easier to see at a glance whether you're talking about milliseconds, seconds, nanoseconds, etc.
The amount of elapsed time, in seconds. This may not be negative.
Methods for formatting time durations.