added date comparison condition to support querying documents within a specified date

not sure if date comparison is supported, had a requirement in a project to query documents on a specific date so I made a condition