Is there any way to calculate months? I have two dates: Month1 and Month2. What I need is to fill in blanks with the months and months in between of which will never be more than a year apart.
First Example:
Month1 = February
Month2 = June
There are 12 blanks. I would need the first five blanks to be populated with February, March, April, May, and June.
Second Example:
Month1 = March
Month2 = February
Again, there are 12 blanks. I would need all 12 blanks with the consecutive months starting with March.
Any idea? Thanks!
There are some interesting things that can be done with the date object and the 'util.printd()' method.
George Kaiser