You need to sign in to do that
Don't have an account?

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.