Cleo-Juniper
2 years agoNew Contributor
Parse date from string without format
I need to parse string into a date. I know the string is a date. I don't care about the formatting. I've tried
Date.parse(myDateString)
But it seems to want the format of the date. Is there any way I can parse the date without the code being aware of the format?