In PHP, how to subtract $Longitude_1 = 72.8790721063599
from $Longitude_2 = 82.22
?
These are decimal degree values from Google geocoding
.
I need to find the difference and convert it into time.
The time value comes close to 40 minutes as I know in this case.
Also, 1 Degree = 4 mins and not 60 mins when it comes to time differences from longitudinal positions. So if I have the coordinate difference in degrees, I can convert the same to time units. It is to get to the Local Mean Time at the concerned longitude!