If all you need is the "MST" or the "EST" time zone abbreviation:
function getTimeZone(){ var now = new Date().toString(); var timeZone = now.replace(/.*[(](.*)[)].*/,'$1');//extracts the content between parenthesis return timeZone;}console.log(getTimeZone());