Nov 10, 2021 09:08 AM
Hi,
I created a form for simple data entry and am including a “Created time” field so users will not have to manually fill in the date the form was submitted. The issue is, I also have legacy data from an old system that I want to import into the same table as the form submissions so the old data and any new data can be analyzed as a whole. This old data is organized by date and those dates are important to retain. When I add any old data into the table, the Created time field auto-fills to today’s date and I am unable to change it to the correct date.
Are there any solutions for maintaining the Created time field, but also maintaining the correct dates for the old data? The only option I’ve thought of is converting the Created time field to a Date field, but that would mean anyone submitting new data via the form would have to manually enter the date.
Thanks in advance!
Colleen
Solved! Go to Solution.
Nov 10, 2021 09:19 AM
You need 3 fields:
{Created Time}
: the one you already have,{Legacy Created Time}
: a regular date field into which you will map your imported data to, and{True Created Time}
: a formula that outputs IF({Legacy Created Time}, {Legacy Created Time}, {Created Time})
Nov 10, 2021 09:19 AM
You need 3 fields:
{Created Time}
: the one you already have,{Legacy Created Time}
: a regular date field into which you will map your imported data to, and{True Created Time}
: a formula that outputs IF({Legacy Created Time}, {Legacy Created Time}, {Created Time})
Jan 27, 2023 12:57 AM - edited Jan 27, 2023 12:57 AM
For anyone who, like me, finds this thread and is looking for a formula to help out, I've tweaked Kamille's work based on our needs and customized
We have three columns:
IF({Import_Created_Time}, {Import_Created_Time}, {Airtable_Created_Time})
But that gave us this result:
2023-01-27T07:14:06.000Z
So we changed the formula to this, which cleaned things up for us:
(DATETIME_FORMAT((IF({Import_Created_Time}, {Import_Created_Time}, {Airtable_Created_Time})),'YYYY-MM-DD @ hh:mma'))
2023-01-27 @ 07:14am
This was just what we needed!
I hope this helps someone else who needs a little extra info!