Calculate time variable

thank you for your information about it.
I installed the app - but now I need the code for the calculation. I also put it in the app thread. can you maybe help me here?

[APP][Pro] Better Logic Library - For Users (Homey Community)

Thank you :slight_smile: