ive got 2 dates like:

2009-11-11
2002-11-11

and i want to get the years between them '7'. how should i do that? the month and day will always be identical and i dont want to use -. is there a appropiate way for this?