I'm wondering how I can parse this date string in object.modified
in JavaScript into date format. If I have this code:
var object = {
"path" : "C:/Users/exampleuser/Desktop/test/testfile.txt",
"modified" : "24-10-2019"
};
I've tried using Date.parse()
but no luck so far.