Could someone assist me with this issue? I attempted using the code below, but it is displaying a date and time in a format that I did not expect: var str=new Date(); var dt= new Date(str).toISOString(); console.log(dt); The output looks like 2021-12-30T18:30:00.000z. Any help would be greatly appreciated. Thank you!