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