Yes, I am trying to create a web page that displays images in a certain directory and expire on the day of the file name.


files with the file names of 10-10-12.jpg, 11-13-12.jpg, 12-10-12.jpg, 01-12-13.jpg

I would like to read the directory and fine the newest date in this case is 10-10-12.jpg and display it until lets say 10:00pm of that day, then from 10:01pm it finds the next file of 11-13-12.jpg and display it until 10:01pm of the file date

Thanks