I though it will be an easy question but it looks like a more complex one.
Unfortunately I can't change the format of the date.
I'm trying to verify its a valid date. What is the best way to do so?
I prefer not to use eval as it considered bad practice.