oldest file in a folder (has not been updated in a long time)

using php for windows

I want the oldest updated file in a folder

So if there are files that were updated in 2013 and one file updated in 2007 that has not been changed since: then that is the oldest updated file
Who is Participating?
Ray PaseurConnect With a Mentor Commented:
Check this online man page.  You may want to do your own experiment since it is Windows; Bill Gates has no background in computer science, so Windows is not as good as Linux.
rgb192Author Commented:
thank you for filemtime
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.