Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Re: Append timestamp to all new files?

40 0
cancel
Showing results for 
Search instead for 
Did you mean: 

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:

my_file.pdf

then it would automatically be renamed to something like this:

yyyymmddhhmmss-my_file.pdf
(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!

1 Reply 1

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.