function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LtsLts 

Calculating Time spent at every Location Using Latitude,Longitude

I have an list of Records Records,

Time Stamp           Latitude                  Longitude

6/8/2013 4:46 PM 17.442239000000 78.396713000000
6/8/2013 4:47 PM 17.442239000000 78.396713000000
6/8/2013 4:49 PM 17.442239000000 78.396713000000
6/8/2013 4:50 PM 17.442239000000 78.396713000000
6/8/2013 4:52 PM 17.442239000000 78.396713000000
6/8/2013 4:53 PM 17.442245000000 78.396706000000
6/8/2013 4:55 PM 17.442248000000 78.396703000000
6/8/2013 4:56 PM 17.442248000000 78.396703000000
6/8/2013 4:58 PM 17.442239000000 78.396713000000

 

 

From above records i want to calculate time spent at each location.But i am unable to get logic to implement in my apex for bulk records.Kindly help me out from this issue.