Append timestamp to all new files?

Hi there, is it possible to append a timestamp to all files when they upload? For example, if a user uploads a file like this:


then it would automatically be renamed to something like this:

(i.e. 20210313182406-my_file.pdf)

Just to pull back and explain my rationale: using a formula field, i need to compare the upload dates of the files to the current date, related to a proof-of-residency solution i’m attempting to build.

Thanks for any help!

Instead of appending onto the file names, could you just create a modified date field that updates itself whenever the attachment field gets modified? This is native functionality that is built into Airtable.