Hi - Is it possible to subtract time in workflows? I have a variable in Gcal3 ‘LastTrip’ which i would like to use - something like IF ALTUI.time - LastTrip < 6 hrs activate transition.

On another note when I open Gcal3 variables in ALTui and click in to LastTrip Value and then click away, the time is reduced by one hour.

you have this function to compare the current time with a min & max:

otherwise, timestamps like last trip are a numeric value ( linux epoch timestamp ) so you can subtract 2 of them and compare the result with your desire, but be sure to transform strings into numbers

I cannot repro your other problem, please submit screen shots that shows it

Thanks - so I am able to use ALTUI.time as a linux epoch timestamp also?