I am working with dates, and when I make a date with the new Date () method, I have one day left.
My code:
let prueba = new Date('2018-12-04')
console.log(prueba)
and in the console I have the following date:
Mon Dec 03 2018 21:00:00 GMT-0300 (hora estándar de Argentina)
That is, I want the date to be December 4th and in console I have one day less .....
Thanks in advance ...