Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Using Duration in a formula for an end date

Topic Labels: Dates & Timezones
169 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi Everyone,

I have a start date field and a duration type field and I’m trying to create an end date with a formula
DATEADD({ :gear: Appointment Start Date},{Duration},‘minutes’)

This doesn’t seem to do anything i.e. the end date is the same as the start.

Any ideas?

Cheers

1 Reply 1

Duration fields (versus number fields) store their values as seconds, not minutes, so I would expect to see


DATEADD({:gear: Appointment Start Date},{Duration},'seconds')

However, that does not explain why you are not seeing a different date.

Are both of your fields set to show time as well as date?

Are both fields formatted with the same timezone setting?

Screen captures could also help in figuring out this issue.