def sec2time(total):
    """Convert seconds to  acutal time."""

    seconds = total % 60
    t_minutes = (total / 60)
    minutes = t_minutes % 60
    hours = t_minutes / 60
    return "%02d:%02d:%02d" % (hours, minutes, seconds)