How to include a datetime into quick search

I have the next problem. When trying to search a datetime with the quick search text input, it doesn’t return any result. I’ve included the datetime field in the quick search field but it still doesn’t work. What’s the way to do it?