I have some amount of “milliseconds” and want to convert to different Time/Date-Formats.
But something wired happening!
console.log("TIME: ", new Date(30000).toTimeString());
Converting for example 30.000-milliseconds into → Time-String → you get →
Where the hell does the HOUR come from ?
Expected RESULT was —> 00:00:30 and NOT → 01:00:30!