JS skips 2023-10-29 when generating data range
I am trying to generate a sequence of dates. However, when generating JS, it constantly misses October 29, 2023. Could someone explain what could be the reason?
Converting time from 12hrs format to 24hrs format needs the clarity
I got a online challenge as below: