support for Dates in the where statement