You can use find with the -exec flag to grep for a string. The program
https://github.com/phiresky/ripgrep-all can search pdfs, epubs, office documents and other media types.
In short: use find to search for containers/mimes on certain modified dates and exec rga to find a given string for each file match.