s/(.\....)\z/ sprintf "%.0f", $1 /es; [download]
In reply to Re: Round off Time to nearest second by ikegami in thread Round off Time to nearest second by capriguy84