Can anyone tell me if, and if so, how I can check if a combination of dd, mm and yyyy is a valid date?

Thanx!