I am looking for a way to check if the Input string provided by user is a valid date format.
So far, I have done something like below.
try { string for