Page 1 of 1

HI, want to add interval at time

Posted: Sep 18 2022
by turbofib
Example: time interval chart is 5 minutes

TimeInterval= 5 minutes
Start Time =2300

startTime + TimeInterval*15 = 2300 + 5*15(1 hours and 15 minutes) = 00: 15 minutes

Re: HI, want to add interval at time

Posted: Sep 19 2022
by ABC
turbofib,

you can not directly add minutes to HHMM times and expect the result to be correct. One way to accomplish what you have in mind could be to use
TimeToMinutes to convert your time to minutes, perform the summation, and convert the result back to a time using MinutesToTime.

Regards,

ABC