suggestion for valid date checking

lo there all, i need to find a way to validate a date_time attribute of a few of my models. Nothing too fancy, just need to make sure that someone does not try to put in Feb 31 th.

i am sure this is fairly common, but cannot find any examples.

thanks for any suggestions.

shawn