• Format duration to string

    Parameters

    • sec: number

      Duration in seconds

    Returns string