web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Entitiy view with datetime filter = older than current date time

(0) ShareShare
ReportReport
Posted on by 75

Hello

We have a custom datetime field "wait until" on the case entitiy. I would like to create a view which shows all cases where the "wait until" is older than the current datetime. How can I use the dynamic current datetime as a filter in a view/advanced find?

Example:
Current date time (now) 06.01.20201 10:08

Record 1:
Wait until = 05.01.2021 18:00

Record 2: 
Wait until = 06.01.2021 08:00

Record 3:
Wait until = 06.01.2021 20:00

Record 4:
Wait until = 07.01.2021 09:00

Only Record 1 & 2 should be shown in the view. But when I open the same view on 08.01.2021 all 4 records should be shown.

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    How tied to the time are you?  Out of the box you could do a filter on the view 'On or before' = today.

    Example:

    Time is today at 16:00

    Record 1 today at 10:00

    Record 2 today at 20:00

    You would see both records.

  • Joshua-Lehmann Profile Picture
    75 on at

    Hi Mike

    Thanks for your suggestion, the time is quite important, since the view is used to show all cases where this date "expierd". So you know which need imediate attention. 

    But neverless I tried your suggestion but was not able to get it to work. Since when I choose "on or before" as filter operator I can only input a specific date but not a dynamic value like "today"?

    6180.Filter.png

  • Community Member Profile Picture
    on at

    Whoops, youre right.  To correct myself.  You could do something 'wild', like this:

    pastedimage1609948006745v1.png

    I realize this does not solve for the time portion.

  • Vinayadav Profile Picture
    25 on at

    Hi Mike,

    You can use filter like below.

    pastedimage1609953037697v1.png

    Hope this will help.

    Check below 

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/220047/use-time-in-advanced-find?pifragment-97030=1

    Thanks

    Vinay

  • Joshua-Lehmann Profile Picture
    75 on at

    Hi Mike and Vinay

    Thanks for your suggestions! However I think both of them do not solve my issue. 

    But I think I found a way myself which could work:

    DateFilter.png

    Since I think the "older than x Minutes" always is relative to the current date/time it should work to only show me recrods where the date field is < now

  • Suggested answer
    CRMJetty Profile Picture
    3,514 on at

    Hello Joshua Lehmann,

    Using Older than X Minutes = 1 you can achieve what you want.

    Refer this image

    5811.Blog-Image-1.png

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans