Is it possible to enter date in dd/mm/yyyy
format into newDate
(e.g. 03/01/2018) so that it returns object Wed Jan 03 2018 00:00:00 GMT+0000 (Greenwich Mean Time) {}
?
If I have a date 03/01/2018
it returns Thu Mar 01 2018 00:00:00 GMT+0000 (Greenwich Mean Time) {}
instead... I'm not trying to pass mm/dd/yyyy
format..
I've looked at plenty of posts on this and can't find an answer to my question.