Ruby on Rails Wednesday, September 25, 2019



On 2019-Sep-25, at 14:45 , fugee ohu <fugee279@gmail.com> wrote:



On Friday, September 20, 2019 at 5:13:44 PM UTC-4, Colin Law wrote:
On Fri, 20 Sep 2019 at 18:10, fugee ohu <fuge...@gmail.com> wrote:
>
> How do I keep a record of the original creation date? What if I wanna preserve the original creation date?
od
Each record in the database has a created_at field.  At least mine do.

Colin

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.





-Rob

No comments:

Post a Comment