I thought I remembered your site, so I looked back through your history and noticed that you've asked about a similar thing a couple times before (and I even answered once before). Last time you asked about a rotating daily picture and I suggested you might name a set of picture files with dates in the names, then you just have to use the current date to construct the files name.
The problem with what you mentioned above is having somewhere to store the date. It's possible to create a database field or even a table for it, but I don't know if there's an existing table that would be appropriate for this sort of thing (anyone?).
Another option would be to use a file, either by writing the date to the file or else just using dates to name some files (sort of like I suggested above). If you're trying to do the picture rotating thing, another thing you might do is make a scheduled task that runs daily and copy the day's picture file to a fixed name.
|