mik888em,
DateTimeFormat
let TIME = 1679287353711;
let date = new Date(TIME);
let minutes = date.getMinutes() + date.getTimezoneOffset();
date.setMinutes(minutes);
let milliseconds = date.getMilliseconds().toString().padStart(3, "0");
let formatter = new Intl.DateTimeFormat("ru", {
hour: "2-digit",
minute: "2-digit",
second: "2-digit"
});
let TIME_FORMAT = formatter.format(date) + ',' + milliseconds
alert(TIME_FORMAT);//04:42:33,711