Have you looked at the documentation I linked to? All of the methods I pointed you at give you a list of file names. For each file name, you can then check the modification time. Where is your code and where exactly do you have problems in your code?