Search posts, tags, users, and pages
Mwaijohn
Happy Coding
Assuming your date has a proper format parse a string to the date object. new Date(your_string); var date = new Date("2021-12-12"); console.log(date);
No responses yet.