Time.roundToSeconds()

Returns the value of this object rounded to seconds