hasSome() not working with Date object

Thanks I’ll keep that in mind but, how exactly does the hasSome () do Date comparison though? Am I correct to be passing a new Date() object as is?