I have this date format: Tue Oct 20 2020 00:00:00 GMT+0100 (Central European Standard Time)
And when I do :
myValue.toISOString();
that's what I get
2020-10-19T23:00:00.000Z
It's subtracting a day.
How can I solve this without changing date format?