I am currently developing an application that displays documents and allows the members to search for these documents by a number of different parameters, one of them being
Try to use CONCAT() and make it one field and compare .
Am not sure you can compare it as date after concatenation.
You can compare as integer.
concatinate year month day and make an integer like this 20101017 and compare.
Hopefully :)