New answers tagged timezone
You can use the SP.RegionalSettings.timeZone property from sp.js to get the server timezone. The LCID for the current context can be gotten directly from 2 variables: //as an int var lcid =_spPageContextInfo.currentLanguage; // or as a string var lcid = SP.Res.lcid;
I don't have privileges to comment so adding it as an answer. SharePoint stores the dates internally as UTC, so when you add any data you need to manually convert the time to UTC otherwise when added from a different time zone you'll always see a time difference.
Top 50 recent answers are included