javascript - is it possible to get country name we selected in SYSTEM's timezone . we can get offset (like 5.5)but how to get country name
<p>in JAVASCRIPT, is it possible to get country name that we selected in our system . for example if my system timezone is "india/kolkata" , we can get offset value like this :   </p>

<pre><code>d = new Date()
utc = d.getTime() + (d.getTimezoneOffset()*60000)

offset = (d.getTime()-utc)/3600000
</code></pre>

<p>thus offset is the required value like 5.5 for india .<br>
But i donno getting the country name . 
I thought of getting the country name by mapping the offset with the country name from my database of timezones . but i found that some countries have same timezones . for example, india and srilanka are two countries that have same timezones with offset 5.5 . So, how to get the correct country name in javascript from system's  timezone . </p>

<p>thanks</p>
