daterange predicate to support all date formats

Avatar

Avatar

ashisht85509954

Avatar

ashisht85509954

ashisht85509954

02-01-2020

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840
Arun_Patidar
MVP

04-01-2020

Hi,

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

Answers (0)