console.log(new Date().toLocaleString()); console.log(new Intl.NumberFormat().resolvedOptions().locale);