convert fields with between keyword

I have the problem with date fields that I resolved with theses changes.