That was what I attempted. By calculating the average for km/month you can extrapolate to the expected date of the next service. Then take the minimum of the two dates. I think that you also should also record a service history. Later services should probably fall within 3 months of the previous service rather than being related back to the purchase date.