Errore calcolo tra due orari temporali

Hi everyone,
I basically want to calculate the difference between two times in terms of hours and minutes, but I can't figure out where I'm going wrong.
Regards
Nicola


Here is one way to do it

I haven't quite figured out your mathematical procedure. However, I wanted to choose the start and end times using the Time Picker.

What version of Android are you running?

Version 15

Hmm..... So the stack trace in your screenshot doesn't include anything related specifically to App Inventor. By chance can you share this AIA with me?

It still gives me the same error as before

Does it happen when you set the first timepicker ?