How to find when a file is created

Hi,
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?
Thanks,
Mido

1 Like

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.

@alotfy

Regards.

2 Likes

Thank you so much, it really helped!
Mido