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
Post a Comment