WhatsApp search features as of now don't have this kind of search for.
I required this feature some months ago to search based on dates and content. Googling led me to Bag a Chat app ( can't link it from play store since it is not available on my country). I download from apkpure , used the app for a few days and uninstalled it ( Two reasons - it was a one time requirement for me and second, because of the permissions it wanted)
From memory, you need to save the chats you want to search using the app and filter them based on your search needs. You can search based not only on dates but many other parameters as explained