I have two textboxes where each contains hh:mm:ss values and I have to get the sum of these two. Currenlty, I was able to split them up and converted hours to minutes and seconds to minutes. However, I am facing a challenge converting minutes back to hh:mm:ss. Is there an easier way to do this?
converting from hours to minutes and sum up the minutes
converting from hours to minutes and sum up the minutes
Code:
Split(2:05:05, ":")(0) * 60 + Split(2:05:05, ":")(1)