Help

Using Duration in a formula for an end date

Topic Labels: Dates & Timezones
832 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Currently_Jason
6 - Interface Innovator
6 - Interface Innovator

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.