I need to create an ETA from current location to a specified location.
I know how to calculate duration, but can’t seem to pull that information to add it to the current time. I would also need to make the ETA a static value for the desired workflow.
Thank you for your kind and encouraging words @GH5T.
I have, in fact, looked quite diligently. And, I am most certainly not trying to reinvent the wheel. As noted in my post, I am capable of acquiring the travel duration. My goal is to provide a time of day based on the travel duration, not just a duration of travel. If I have missed that option with Distance Matrix, would you be so kind as to enlighten me?
To provide a time of day based on travel duration, you would typically need a mapping or routing service that can estimate the travel time between two locations. Google Distance Matrix API can be a suitable option for this purpose.
Here’s a general outline of how you could achieve this using the Google Distance Matrix API: