# How can I do sums between hours

Hello,
How can I do sums between hours.

Example: One day I worked 1:50
The other day I worked harder 0:40

Total hours = 2:30

How do I get to this result?

convert the hours into minutes and add the minutes to have the total in minutes, then add the total of minutes from the other day, then convert back into hours and minutes
Taifun

2 Likes

Iâ€™ve tried this logic, but I didnâ€™t find any block that converts hours into minutes.

do you know of any block that does that?

You have to do it yourselfâ€¦
If you stuck then only we will help @nielson10

Friend, I made a working time tracking app. I suffered to know how to calculate the hours.

I managed to do it, transforming it into decimal hours. But it is very laborious.

I was asking here if there was any more practical way of having the same result.

donâ€™t be rude but only thing is that we want everyone to learn itselfâ€¦
If you will try it you can do itâ€¦
First believe in yourselfâ€¦
@nielson10

2 Likes

Ok, sorry ,

by the way every hour has 60 minutes and you need to use math blocks like 3x60=180

2 Likes

Resolvido!

1 Like

Good workâ€¦ keep it upâ€¦

REALLY?
1 hour = 60 minutes (at least that was true last time I checked!)

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.