I am using the following sample code to calculate sum of two different time values. Now I want to get the sum of N number of time values.
// numbers for test
This is the best way: