now print MemTimeDiffm I bet I’ll be 0.
Advice: you should store timeDuration in float8 minutes or bigint seconds is like a standard. Then you may retrieve and decode with less work, and you’ll avoid this approach.
I did a quick test earlier today to make sure I was thinking correctly. When you read a non-existent tag, and cast to int(), you get -1. At that point you would still expect 23:59:00 but still felt worth calling out.
Or better yet, just store the date. Then you have the ultimate flexibility
Hi
They are in the same root folder “Linea Disco” but the tag where the insert script is found is in a sub folder of the root folder “COnteo Falla Disco”.

I get the same result with either one
I think I already found it was an error in the condition of the TAG “MemTimeDiff” and the value of the TAG “Falla Linea Disco”
Thank you so much



