View Single Post
Old 02-07-2021, 03:35 PM   #4
FanIn80
GOAT!
 
FanIn80's Avatar
 
Join Date: Jun 2006
Exp:
Default

const serverDate = (d) => {
return new Date(d)
}

serverDate("Monday Feb 7 2021")

Output: "Invalid date."
FanIn80 is offline   Reply With Quote