02-07-2013 09:47 AM
Hi,
Can some one suggest a logic to find out the index from a time stamp array for a specified time stamp constant.
The array may not conatin the exact time with specifed seconds. So it can be near by time value.
(The array of time stamps may have around 10,000 elements)
Thank you.....
Solved! Go to Solution.
02-07-2013 10:30 AM
Well, it depends on how picky your sorter needs to be. If you know that there will be a timestamp with the same minutes, and you're okay rounding to minutes, then you could do this:
--Ryan S.
02-07-2013 10:43 AM
Here's an approach that will find the index with the closest time stamp:
02-09-2013 02:54 AM
Dear CMal,
Thanks for providing the solution....
02-09-2013 03:00 AM
Thanks for providing the reply....