So how many months are there between 2006-06-07 and 2008-12-12? 30, 31, or 32?
My searching the forums turned up http://www.phpbuilder.com/board/showthread.php?t=10266664 but all you're interested in is counting - subtract the month in one date from the month in the other, and add 12 times the difference in the years. (12-6)+12*(2008-2006) = 30. Same way you'd do it if you were doing it yourself.