when i see the this answer// convert this type of string date And I followed it this way.
20170721123840+0900
var a = new Date({$concat: [ "2017"," ",
"11"," ",
"11"," ",
"11",":",
"11",":",
"11"," ",
"+0900" ] } )
a
This is what I expected.
var b = new Date("2017 07 21 12:38:40 +0900")
b
ISODate("2017-07-21T03:38:40Z")
But this was the result.
ISODate("0NaN-NaN-NaNTNaN:NaN:NaNZ")
Why is this form coming out? What do you do to solve it?