Update Google spreadsheet from two different phones with GPS location and the time (standard and epoch). Both phones automatically query the spreadsheet and calculate the distance between each other and time since
Locatephone - Tasker Wiki
Single tap enable GPS using Tasker (Without Root) – How the heck?