Validating date in sas

I need some help on sas on unix....

Is there any way to validate date in sas

If possible you can use "proc sql" to check if the date is valid or not.Something like connecting to oracle and make use of to_date function to see if its valid or not.

rishi