Is there a PHP photo-of-the-day script that can:

1. show one image per day (changing at, say, midnight server-time)?
2. rotate through 365 images in order (for example, 01.png, 02.png, . . . 365.png)?
3. and then start again every year from the first image?

I was informed by a consultant that PHP cannot do this and that I'd have to convert my site to ASP.

Is this correct?