free html hit counter
[JS] Set Timezone
[JS] Set Timezone
2019-07-17 / Dimas Lanjaka Kumala Indra
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

[JS] Set Timezone

PermaLink: https://www.webmanajemen.com/2019/07/js-set-timezone.html
Incoming search terms for [JS] Set Timezone:
  • [JS] Set Timezone
  • [JS] Set Timezone WMI Gitlab

Google Rich Snippets | Schema Markup Validator | Google Pagespeed Insight