var d = new Date(); var offset = -8 var utc = d.getTime() + (d.getTimezoneOffset() * 60000); var nd = new Date(utc + (3600000*offset)); nd.toLocaleString()