My Question is how do I calculate how much hours and minutes will pass to reach specific time. I mean if we have time: 15:32, and I want to calculate how much hours is needed to 05:32 (at night), in this case should be 14 hours and 32mins.
As I don't really have that much of a knowledge and experience I haven't tried anything because I don't really know where to start.
const curDate = new Date().toLocaleTimeString(); console.log(curDate); //I only know how to get the current date to string. But what next?