Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Using DATEADD doesn't aggregate the data

Topic Labels: Dates & Timezones
Solved
Jump to Solution
1820 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Amit_Merckado
6 - Interface Innovator
6 - Interface Innovator

Hi airtablers

I’m trying to create a business schedule table.
There are ‘start time’ and ‘duration’(a lookup value from a different base) fields, and I try to formulate the ‘end time’ field by aggregating the first 2.

For some reason the below formula gives the start time unchanged.

DATEADD({Start time},Duration,'seconds')

I tried to change the seconds to minutes and hours with same result. {Duration} also didn’t change.

The formatting option “Use the same time zone (GMT) for all collaborators”, is disabled in both date fields.

What am I doing wrong?

Thanks
FB_IMG_1582410500292 FB_IMG_1582410496109 FB_IMG_1582410492624

1 Solution

Accepted Solutions
kuovonne
18 - Pluto
18 - Pluto

I was able to see the same problem as you. I suspect the problem has to do with the lookup.

My workaround was to force the {duration} into a number by adding zero to it.

DATEADD({Start time}, {Duration} + 0, 'second')

In my test, only {Duration} is a lookup; {Start time} is a regular date/time field.

See Solution in Thread

2 Replies 2
kuovonne
18 - Pluto
18 - Pluto

I was able to see the same problem as you. I suspect the problem has to do with the lookup.

My workaround was to force the {duration} into a number by adding zero to it.

DATEADD({Start time}, {Duration} + 0, 'second')

In my test, only {Duration} is a lookup; {Start time} is a regular date/time field.

Thank you so much :slightly_smiling_face: