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
HI, want to add interval at time
- ABC
- Posts: 721
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 409 times
- Contact:
Re: HI, want to add interval at time
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
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