Settings --> SQL --> setting --> "Index Date fields in SQL""/>