[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
- compatible with ANY Javascript
0 Response to "[JS] Set Timezone"
Post a comment
Jangan Lupa Cek Box "Notify Me" agar tahu komentar kamu dibalas oleh saya.
If there are any posts that are missing, or error or anything else, please leave a comment for the article / post to be fixed.
Do not Forget Check Box "Notify Me" to know our comments replied by me.