formatDuration

Converts a time value into a duration.

Syntax

formatDuration(int interval)
  • interval : int to convert into a duration

    Returns

    timestamp

Notes

formatDuration takes an integer value and returns it in duration format.