Reputation: 131
There is a date saved in a text field. I'm trying to get documents collection when the field is in a date range using db.FTSearch
method. But >
and <
doesn't work in a text field. Are there any way to convert text field? I'm not familiar with IBM Domino and have tried @TextToTime
but doesn't work.
Upvotes: 0
Views: 754
Reputation: 2359
A few ways:
Upvotes: 1
Reputation: 14628
Your date is stored as text, so you need to use @TextToTime().
I.e.,
FIELD @TextToTime(field1) >= [01/01/2018] AND
FIELD @TextToTime(field1) <= [01/19/2018]
Upvotes: 0