Fixed date search function