Reject an invalid date, like February 31

This will reject an invalid date instead of crashing.

I figured this was the best way to handle this. Let me know what you think. Cheers!