Monday, 18 July 2016

JQuery Get the time zone.

You can get the timezone information from javascript using getTimezoneOffset. For example:

var timeNow = new Date(); 
var timezone = timeNow.getTimezoneOffset() / 60 * (-1); 

No comments:

Post a Comment