SyntaxFix
Write A Post
Hire A Developer
Questions
var timedifference = new Date().getTimezoneOffset();
This returns the difference from the clients timezone from UTC time. You can then play around with it as you like.