"find" has many options to search for files.
Check out the man page for details. The example below recursively searches from / for files ending in .txt and were modified with in 1 day then lists the files.
Code:
sudo find / -iname *.txt -and -mtime -1 -exec ls -lt {} \;