Sure. How you do it just depends on what criteria you want users to be able to use.
You need to understand and keep in mind that a date object is ALWAYS a date/time object.
So, if you let a user select a date to check against, you may need to first manipulate its time parts to ensure the right results.
I discuss this in some detail here:
In general an event will be inside of a range bounded by datetime1 and datetime2 if:
datetime2<- range ->datetime1 contains point event’s:startDateTime
Does that help get you started?