I'm trying to find the average time between each timestamp. I want to calculate the time between each two stamps and put it in a field next to the times, then I want to calculate the average time between them as a total. The data does span multiple days, so date needs to be taken into account as well.
2012-07-11 08:42:19,674
2012-07-11 08:42:20,562
2012-07-11 08:42:21,000
2012-07-11 08:42:21,526
2012-07-11 08:42:21,997
2012-07-11 08:42:22,408
2012-07-11 08:42:22,900
2012-07-11 08:42:23,315
2012-07-11 08:42:23,707
Format is Year-Month-Date Hours:Mins:Secs,MSecs
Output I'm looking for is something like this:
2012-07-11 08:42:19,674
2012-07-11 08:42:20,562 888
2012-07-11 08:42:21,000 438
2012-07-11 08:42:21,526 526
2012-07-11 08:42:21,997 471
2012-07-11 08:42:22,408 589
2012-07-11 08:42:22,900 492
2012-07-11 08:42:23,315 415
2012-07-11 08:42:23,707 392
>>>>>>>>>>>>>>>>>>> 526.375
Bookmarks