Hourly image updater?
I'd like to know some Java code for a 24 hour image recycler.
What I want to do is have an image on a website appear at 4:00pm and not at 5:00pm, and have a different picture there at 12am than is there at 11pm.
All I want is to be able to have a user's computer visit my site at various hours of the day and get to see one of twelve or twenty four images.
AM or PM doesn't matter too much, though it would be nice if the code could differentiate between day and night.
It's like a random image generator, but it's not at all random. You simply have to visit the site at the hour specified in order to see certain images with their respective links.
What java code can I use for this?
What I want to do is have an image on a website appear at 4:00pm and not at 5:00pm, and have a different picture there at 12am than is there at 11pm.
All I want is to be able to have a user's computer visit my site at various hours of the day and get to see one of twelve or twenty four images.
AM or PM doesn't matter too much, though it would be nice if the code could differentiate between day and night.
It's like a random image generator, but it's not at all random. You simply have to visit the site at the hour specified in order to see certain images with their respective links.
What java code can I use for this?
