Round to the closest millisecond.