I have two dates, example would be 10/1/2006 and the current date 9/8/2007. How would I loop through and print out every month between these two dates with the year?

October 2006
November 2006
December 2006
January 2007
etc...
September 2007

Any ideas? and thanks!