loop date help.
Hey guys. I have a script at http://15x.cartoonhit.com (view source). That calls up the current date, and then calls up an image file that's name is based on the date.
I want to try and alter this code to also create a list of the last 30 of these images. The main trouble I'm getting is, I don't know how to actually get the loop to take away a day thirty times.
Basically when I try do a loop I'm doing like date-1 but at this point it's already treating it like a number, and it's no longer actually a date.
any help would be really appreciated.
I want to try and alter this code to also create a list of the last 30 of these images. The main trouble I'm getting is, I don't know how to actually get the loop to take away a day thirty times.
Basically when I try do a loop I'm doing like date-1 but at this point it's already treating it like a number, and it's no longer actually a date.
any help would be really appreciated.
