daterange predicate to support all date formats | Community
Skip to main content
ashisht85509954
Level 2
Jan 3, 2020 7:29 AM UTC
Solved

daterange predicate to support all date formats

I have requirement where i need to use querybuilder daterange redicate to search data based on data properties. Issue that i am facing is metadata of content have inconsistent date format so i can not use one specific date format in date range property.

E.g. when i use daterange.lowerBound=2019-12-28T00:00:00.000-05:00 then it does not fetch content which have date as 2019-12-28T00:07:19.558Z and vice cersa.

 

Is there a way so that i can fetch all records irrespective of date format?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jan 5, 2020 1:59 AM UTC

Hi,

Not OOTB, but you can write your custom predicate to achieve this.

Arun Patidar

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Jan 5, 2020 1:59 AM UTC

Hi,

Not OOTB, but you can write your custom predicate to achieve this.

Translate
Arun Patidar