Skip to main content

DATETIME_DIFF not working

  • September 4, 2020
  • 4 replies
  • 46 views

Forum|alt.badge.img+10

Driving me crazy … why doesn’t this work? PROMOEND is a date field.

DATETIME_DIFF(TODAY(),PROMOEND,’months’)

4 replies

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • September 4, 2020

Make sure that your quotes are straight quotes instead of curly quotes. Airtable’s formula engine doesn’t recognize anything except for straight quotes.


Forum|alt.badge.img+10
  • Author
  • Known Participant
  • September 4, 2020

Make sure that your quotes are straight quotes instead of curly quotes. Airtable’s formula engine doesn’t recognize anything except for straight quotes.


Hmm, well aren’t these straight quotes … symbol under double quote on my keyboard.

DATETIME_DIFF(TODAY(),PROMOEND,’months’)


  • Inspiring
  • September 4, 2020

Hmm, well aren’t these straight quotes … symbol under double quote on my keyboard.

DATETIME_DIFF(TODAY(),PROMOEND,’months’)


@J_Allen, the difference is that those curly quotes are rich-text, while the straight ones are plain-text.

Big pain in the bottom, but avoided by copy/pasting from a plain-text editor like notepad. If you put it in microsoft word or something like that, the straight quotes get converted to those curly quotes.


Forum|alt.badge.img+10
  • Author
  • Known Participant
  • September 4, 2020

@J_Allen, the difference is that those curly quotes are rich-text, while the straight ones are plain-text.

Big pain in the bottom, but avoided by copy/pasting from a plain-text editor like notepad. If you put it in microsoft word or something like that, the straight quotes get converted to those curly quotes.


Thanks Kris. So I used my Mac vs iPad (the Airtable app) and though the same exact key on the keyboard was used, that worked. Perhaps a nuanced difference in iOS Safari > Airtable.com vs. macOS > Airtable app … but one would expect it would have worked.