'Get Timezone from Google Places api autocomplete

I am trying to get the latitude, longitude and Timezone (India 5.30) from Google Places. The address is filled by autocomplete, and thus getting the latitude and longitude. But iam unable to get the timezone. I am getting the latitude and longitude properly. Can anyone help me to get the timezone. My code is below:

HTML

<input id="address" type="text" placeholder="Enter address here" />
    <div>
        <p>Latitude:
            <input type="text" id="latitude" readonly />
        </p>
        <p>Longitude:
            <input type="text" id="longitude" readonly />
        </p>
        <p>Timezone:
            <input type="text" id="timezone" readonly />
        </p>
    </div>

SCRIPT

<script src="https://maps.googleapis.com/maps/api/js?key=API_KEY&amp;libraries=places"></script>
 
<script>
google.maps.event.addDomListener(window, 'load', initialize);
function initialize() {
var input = document.getElementById('address');
var autocomplete = new google.maps.places.Autocomplete(input);
autocomplete.addListener('place_changed', function () {
var place = autocomplete.getPlace();
// place variable will have all the information you are looking for.
 
  document.getElementById("latitude").value = place.geometry['location'].lat();
  document.getElementById("longitude").value = place.geometry['location'].lng();
  });
}
</script>


Solution 1:[1]

To retreive the timezone from google places autocomplete add the following line to the code

  document.getElementById("timezone").value = place.utc_offset_minutes;

One can also use place.utc_offset

Solution 2:[2]

You can add this code autoComplete.setFields(['utc_offset_minutes']) before autocomplete.addListener(....

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Conrad Lotz
Solution 2 EmrahYT