CONTEXT
I would like to update a variable inside a table depending on a time difference.
DATA
I have the following myS