How to validate date on drop down list

How to validate date on drop down list

I have three separate drop down for selecting date ,month,year.

so how to validate this date  from this three drop down selector  whether is valid or not ,or whether it contains 31 Feb 2015.so this will be invalid date

so kindly help me