Forum Discussion
LewisMasling-2a
3 years agoCommunity Member
Adding and subtracting numbers as time on user click
Hi,
I have a course where a user needs to select some options and each have a time impact.
I'd like to display the time in an hours, minutes format.
I can easily count the time of ea...
LewisMasling-2a
3 years agoCommunity Member
A user selects a check box, each check box is assocciated with a text box that has description about a video that is XX in length.
Users do not need to select all the options, only those of interest. As they select they're options I'd like to display the accumulative amount of time that all selected videos will take to view (add deduct time if they unselect too) in hours and minutes.
So far I have a number variable called MM and am adding a set figure to that each time an option is selected, but it obviously counts past 60 and that's not what I want.
I'm not sure how to display it as 1 hour 0 minutes and so on rather than 0 hours 60 minutes etc.
Does that help?