Javascript – compare two date with each other with the same value of year and month and day but diffrent hours
I am about the compare two dates in JavaScript with each other for example consider this two value : date1 = 2024-5-13T20:30:00 date2 = 2024-5-13T21:30:20 the day and month is the same but the hours is different my goal is…