daterange predicate to support all date formats | Community
Skip to main content
ashisht85509954
Level 2
January 3, 2020
Solved

daterange predicate to support all date formats

  • January 3, 2020
  • 1 reply
  • 1152 views

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.
Best answer by arunpatidar

Hi,

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

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
January 5, 2020

Hi,

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

Arun Patidar