[JS] Set Timezone

Set timezone javascript without using any plugins

const DATE = new Date().toLocaleString('en-US', {
timeZone: 'Asia/Jakarta'
});
console.log(DATE); //debug
document.write(JSON.stringify(DATE)); //debug dynamically print

  1. compatible with ANY Javascript