JavaScript Date Set Heure 23 59 59

const timeDate = new Date(time).setHours(23, 59, 59, 999)
Ham-Solo