I have two date object like new Date(2019, 11, 1) and new Date("2019-12-01"). The obtained Date object values are different.
How can I get the same Date object for both values by any possible workarounds? I have tried by adding new Date().getTimezoneOffset(), but it did not work proper if I have new Date(2019, 11, 1, 4)