let now = new Date()
let options: Intl.DateTimeFormatOptions = {
year: "2-digit",
month: "2-digit",
day: "2-digit",
hour: "numeric",
minute: "2-digit"
}
let shortStyleEn = now
.toLocaleString("en-US", options)
//shortStyleEn is "11/25/21, 1:25 PM"
options.hour = "2-digit"
options.timeZone = 'UTC'
let shortStyleRu = now
.toLocaleString("ru-Ru", options)
//shortStyleRu is "25.11.21, 01:25"
let customStyle = now.toJSON().slice(0, 10)
//customStyle is "2021-11-25"
console.log(`shortStyleEn is "${shortStyleEn}"`)
console.log(`shortStyleRu is "${shortStyleRu}"`)
console.log(`customStyle is "${customStyle}"`)