Ok,
I have a date that will change on the user, but will be in this format 20060201 which is Feb 1 2006. I than run a loop any where from 1 to 360 times. Every time I run the loop I want the date to advance one month. I know I could do this by grabing the month (02) and than add one every loop and when it gets to 13 change to 1 and add one to the year.
However I was hope there was some date function in perl that would do this for me.
any ideas?
I have a date that will change on the user, but will be in this format 20060201 which is Feb 1 2006. I than run a loop any where from 1 to 360 times. Every time I run the loop I want the date to advance one month. I know I could do this by grabing the month (02) and than add one every loop and when it gets to 13 change to 1 and add one to the year.
However I was hope there was some date function in perl that would do this for me.
any ideas?