I have the following code:
console.log(
new Date().toISOString()
)
This returns: 2021-10-14T08:28:28.467Z
In my opinion it should return: 2021-10-14T08:28:28.000Z
. The difference is the 000Z. In all examples (documentation) I see that it returns 000Z. In my case it doesn't.
How to make sure I also get the 000Z?