Strip time of event

Hi everyone!
I am thinking of it from a while but didn’t find something
I want to get the time of events occurring
for example:
we have a block “when PressureSensor1. PressureChanged”
so I want to get the time of every change in pressure value?
any idea…
Your answers are appreciated


1 Like

It get phone clock time
I want it in seconds

Unix timestamp?

1 Like

Why not start a counter and a clock after it changes, interval=1000. When it changes again you have the time in seconds and you set the counter to 0 so it can start again with counting.

1 Like

Thanks,Will give try to all ideas tomorrow. It’s bed time, Good night and sweet dreams :sleeping::night_with_stars: