I'm storing the ISO datetime value in database and when is use the new Date() method it is showing wrong date.
When I use new Date().toISOString() output is 2021-05-05T13:33:35.673Z and when is use new Date(event.date).toISOString() output is 2021-05-05T18:47:00.000Z.
But when I try new Date().getDate() the output is 5, but for new Date(event.date).getDate() the output is 6. Why is it 6 instead of 5?