javascript - get client time zone from browser -


Is there a reliable way to get time zone from the client browser? I have seen the following links but I want a much stronger solution

This repository See it's useful

Download jstz.min.js and add functions to your html page

  & lt; Script language = "javascript" & gt; Function getTimezoneName () {timezone = jstz.determine () return timezone.name (); } & Lt; / Script & gt;  

And call this function with your display tag


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -