May 26, 2021 02:31 PM
I have a date time field being sync’d from another base and I need to reformat that MM-DD-YYYY HH:MM into a true date time format from the string it comes in as, as a sync’d field.
Any ideas?
May 27, 2021 09:04 PM
Create a formula field and use DATETIME_PARSE({your synced date time field})
This will cause the formula field to register as a date field, and you can use the Format tab in the formula field to select the format of the date and time.
If you need more customized formatting, you can wrap the above formula inside a DATETIME_FORMAT()
function. This gives you a huge amount of customizability for how to show the result. And the use of the DATETIME_PARSE()
function will allow Airtable to see and treat the result as a date for the purposes of sorting, filtering, etc.
May 28, 2021 08:47 AM
That is exactly how I set it up.
See attached and I get an error.
May 28, 2021 09:35 AM
Try using the DATETIME_PARSE()
function without any arguments (just the variable itself inside the parentheses).
May 28, 2021 10:02 AM
Still an error.
DATETIME_PARSE({New Meeting Day/Time (from Link to Updates) 2})
May 28, 2021 07:13 PM
Sorry this is so annoying. Hopefully this will work:
DATETIME_PARSE({New Meeting Day/Time (from Link to Updates) 2}, "M/D/YYYY h:mma")
Jun 01, 2021 10:39 AM
My Hero! Thank you so much!
Jun 02, 2021 07:25 AM
Sorry it took so long! In the process I got to learn about yet another undocumented behavior of Airtable. (There are so so so so so very many of those.)