How do I subtract buffer input time from a date/time field?

I’m trying to subtract a buffer input time in mins/hr from date/time field.
I’ve tried various expressions with and without custom states but can’t seem to get it right. Can anyone help? Thanks in advance.

use the operator in a dynamic expression after a date such as +mins or +hours and if it is for subtracting when entering the value use the - in front of the number

Thank you but I’m not getting the “-” sign. Here is what I have, perhaps I’m doing it wrong.

There is no minus sign there, you should write -x.

I want to subtract it from a buffer input field that I have. Is that possible?

+(minutes): Buffer Input Value * -1

I cannot write that in either.

Screenshot 2023-08-09 at 10.36.29 AM
Screenshot 2023-08-09 at 10.37.16 AM

You should SELECT the multiplyer operator (*) as a Bubbles dynamic operator THAN write -1.

Bubble is not giving me that option.

Beforeintervalinput is an INTEGER? or TEXT?

See what I did here:

Editor here

it’s a number

Yes, what you are doing wrong is not writing the - sign in front of the number as directed

This topic was automatically closed after 70 days. New replies are no longer allowed.