I try to implement Xrm.WebApi.retrieveMultipleRecords to filter out those that were born, say 12/16/1950 based on the date picked from a calendar. But the search will filter by the actual UTC date stored in the record and return those with birthdate 12/15/1950. I need to find a way to make it search based on the OData.Community.Display.V1.FormattedValue or somehow convert the date using timezoneoffset so that 12/16/1950 should become 12/17/1950 in order to get those with FormattedValue 12/16/1950.
Looks like time zone issue in dataverse. Instead of filtering with eq (which checks exact UTC), filter using a range that covers the entire day in UTC.
Thanks
Ramesh
If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.