Carrierwave metadata for original creation date?

How do I keep a record of the original creation date? What if I wanna preserve the original creation date?

Each record in the database has a created_at field. At least mine do.

Colin

The file that’s being uploaded

Looks like that's a no:

https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications

(unless you control the source endpoints and can incorporate that
information into e.g. the file name).

I want the creation date of file before it’s uploaded Can you tell me how to find it I know it has something to do with ruby mtime function

You can’t get that information in the browser. The best you could do is the lastModified time of the file.

https://developer.mozilla.org/en-US/docs/Web/API/File

https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified

-Rob

They talk about cases where the last modified time isn’t available What kind of device might someone be uploading a file from that doesn’t have a last modified date for a file I never saw a file without a last modified date