I haven't coded in a while and I'm trying to find the easiest solution to this problem.
I have 20+ images on the server (labelled 1.png, 2.png, 3.png, etc.) and I'm using PHP to render three of them to my website at a time.
All I want is to make it so every twelve hours a new image replaces one of the old images. So for example it starts by rendering images 1, 2 and 3 and after twelve hours it switches to 2, 3 and 4.
What's the best way to achieve this effect?