Seems like you already have the hours and the minutes. Is that right? If so, what is the question?
If you want to create a string out of it, you could use something like toString($yourHours) + ‘:’ + toString($yourMinutes).
This will create a String like 5:45
Hi Dev, happy to help!
you could try calculating the totaltime in a sub microflow. This microflow is triggered immediately after the endtime is set. That is, from that moment you know the start- and endtime thus the total time can be calculated. To actually calculate the time between start- and endtime, you can use the ‘minutesbetween’ function (see https://docs.mendix.com/refguide/between-date-function-calls/).
I would suggest creating a new attribute called ‘totaltime’. And set the totaltime attribute to the calculated totaltime in the mentioned sub microflow.
Good luck and go make it!