How to find when a file is created


Does anyone know how to delete a file that is 7 days old for example? how do I find out the creation date of the file?


Hi @alotfy,

A suggested good practice would be to search through the forum if someone else already has a solution for your problem. Please feel free to go thru Intro.

Here’s a similar post to yours:


Thank you!


I just fixed this up a little bit for myself as a reusable workflow that all projects can use. Feel free to look/copy or use it.
DeleteOldFiles.xaml (15.7 KB)

EDIT: corrected “last access” to “creation” time which I changed in the code
EDIT2: reuploaded to correct coding error that I didn’t realize.




Thank you so much, it really helped!