Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript new date invalid date dd/mm/yyyy

var dateString = "17.05.2022"; // Oct 23

var dateObject = new Date(dateString);

document.body.innerHTML = dateObject.toString();
 Run code snippetHide results
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #date #invalid #date
ADD COMMENT
Topic
Name
4+6 =