Hours from timestamp ok minutes not ok


I was inspired by another forum for the formulas I get the hours but I can’t get the minutes
diff or duration being the difference between two timestamps

the translation of these blocks does not work

1 Like

Can you explain more what does not work?

You have a start time and an end time and you take the difference and then check that if does not exceed a day.

From her you take the number of seconds (as the difference between the start and end) and divide by 3600 to get number of hours.

Now, you need to subtract number of hours from the difference to be able to compute the number of minutes.

This is easy math.

Check this example:

Setup variables:

Working blocks:

Sample output:

1 Like

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