How do you check difference between DateTime string coming from SQL php and current time from clock in MIT app inventor?

You have to convert date to MM/DD/YYYY hh:mm:ss format. You can create a procedure for that like (blocks are draggable)

and then get difference in millis. In below example I use Time Format Extension - Millis to [HH:mm:ss] - [days + HH:mm:ss] - [HH:mm] - [mm:ss] etc to get duration

4 Likes