Notifications
Announcements
No record found.
How to filter on the time part of the date in fetch xml between two days
*This post is locked for comments
Hi James,
Please check the below blog.
community.dynamics.com/.../how-to-filter-on-the-time-part-of-a-date-in-fetchxml
Hope this helps.
Use this:
<condition attribute=“<AttributeName>” operator=”olderthan-x-days” values=”<VALUE>” />
For your reference:
www.powerobjects.com/.../support-for-additional-older-than-clauses-for-date-and-time-fields-in-fetchxml-and-queryexpression
Hope this helps
You can refer this also:
backtothecrm.blogspot.com/.../how-to-filter-on-time-part-of-date-in.html
Hi there,
I am wondering if you know how to filter with "Newer Than X Days/Weeks/Months" instead of "Older Than X Days/Weeks/Months" for Dynamics 365 version 9.
Thanks in advance.
Regards,
Sompop Charusaengrit
Hi,
There is no operator currently for New than X Days/Weeks/Months.
You can use On-or-After and On-or-Before to retrieve based on time criteria as shown below:
<filter type="and">
<condition attribute="actualstart" operator="on-or-after" value="2018-11-01" />
<condition attribute="actualend" operator="on-or-before" value="2018-11-01" />
</filter>
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2