Skip to main content
Solved

NaN after calculating Duration

  • September 17, 2020
  • 1 reply
  • 15 views

The formula is indicated on the screenshot. How to get Duration value, not a NaN?

Best answer by kuovonne

Welcome to the Airtable community!

Math with dates can get a little tricky. Sometimes you need to use a function instead of a simple operator.

DATETIME_DIFF({Starttime}, {Requestdate}, 'seconds')

It is documented in the formula field reference.

1 reply

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • Answer
  • September 17, 2020

Welcome to the Airtable community!

Math with dates can get a little tricky. Sometimes you need to use a function instead of a simple operator.

DATETIME_DIFF({Starttime}, {Requestdate}, 'seconds')

It is documented in the formula field reference.