Date object if passed value was a valid date string or a valid date object, returns undefined in case cast fails
A function which attempts to safely cast any value to a valid Date object
Description
A function which attempts to safely cast any value to a valid Date object