Rounding times - calculating new times at 'x' minute intervals?

Hello! I created a loop in Button Actions in order to keep generating subsequent 25-minute meetings with 5-minute breaks in between.

I used @karimoo’s great tutorial on how to calculate new times: Help : StarTIME +60 = funny Endtime 🤔 - #3 by karimoo

The issue is that when I calculate for each 25-minute interval by using 25/1440 (per the linked tutorial above), I actually get values slightly under the 25-minute value.

For Example: Instead of 12:00 - 12:25, I get 12:00 - 12:24 when I add 25/1440 to 12:00. Here are all the results I get that are all slightly off:

Anyone know how I could round to the nearest 5-minutes?
Thanks!

Could it be because it sees that time starts at 12:00:00 (with seconds), and 25 minutes might be denoted as 12:24:59 ?

Not sure that’s actually the issue, just thinking out loud.

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