Local TimeZone

Run Settings
LanguageTypeScript
Language Version
Run Command
const date = '2022-09-17 12:12:11.386640' const datecek = new Date(date).toLocaleString('id-id', { weekday: 'long', year: 'numeric', month: 'short', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric', timeZone: 'Asia/Jakarta' }); console.log("ceksatu =>",new Date(date).toLocaleString('id-id', { weekday: 'long', year: 'numeric', month: 'short', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric', timeZone: 'Asia/Jakarta' })) const d = new Date(); let diff = d.getTimezoneOffset(); console.log("diff =>",diff)
Editor Settings
Theme
Key bindings
Full width
Lines