I'm building on the Actions On Google API using API.ai. In order to fulfil one of my actions I need to know the user's location and local time.
I have been able to successfully ask for and receive back the user's location.
However, I cannot see any way of getting the user's local time or timezone offset. Is there a way to do this?
(I realise that I could use the location to find out the offset but that would require another API call or use of another library, which I'd rather avoid.)
Thanks in advance.
-- Update --
As per Leon's answer below and as of 18th Jan 2017 this info isn't currently provided by the API. In order to get the required info I requested permission for the user's precise location, which returns lat and lng. I then used the GeoNames timezone API to get the timezone offset.
@sys.date-time
as an Entity in the request? – Harrow