daet string code example Example: parse date from string in js Date.parse(dateString) //dateString is like 2020-10-10 / 2020-10-10T10:20:20