Hi Team,
I need help with below search queries.
(1) If the identity’s attribute endDate
is set to this ISO date format 2024-10-12T23:00:00Z, when I use this search query attributes.endDate:[now/d+1d TO now/d+1d]
it returns the expected identity.
But, if the identity’s attribute endDate
is set to this date format 10/12/2024 23:00:00 PM GMT, when I use the same search query attributes.endDate:[now/d+1d TO now/d+1d]
it doesn’t returns the expected result or any result. I know this might be because the search only returns the result if the date is in ISO format.
Is it possible to change this date format 10/12/2024 23:00:00 PM GMT to ISO format 2024-10-12T23:00:00Z while using the search query? I know this can be done using a transform but not sure if we can do this in the search by using some logic.
(2) Like I said above, if the identity’s attribute endDate
is set to this ISO format 2024-10-12T23:00:00Z, when I use this search query attributes.endDate:[now/d+1d TO now/d+1d]
, it does return the expected result.
But, if the identity’s attribute endDateFormatted
is set to this ISO date format 2024-10-12T23:00:00Z, when I use this search query attributes.endDateFormatted:[now/d+1d TO now/d+1d]
, it doesn’t return the expected result or any result. That’s really weird.
Thanks