Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Filtering on Event Date

thomash82948276
Level 3
Level 3

I'm trying to filter on Event Date in the Recipient Delivery Log.

My filter says: Include Event Dates that are equal to today.

1681441_pastedImage_0.png

When I do this, I get no records. 

I have confirmed that there are records with an Event date of today in the table; so I've discounted that as an issue.  I'm also using DateOnly as Event date is stored as Date / Time in that table.  That hasn't helped either.

Is there something I've forgotten here?

Thanks

Tom

1 Accepted Solution
wodnicki
Correct answer by
Community Advisor
Community Advisor

IIRC it’s ToDate().

View solution in original post

3 Replies
wodnicki
Community Advisor
Community Advisor

Hi,

Those are times, not days. Either truncate the right hand side so it’s a day, or use a range: on or after midnight prev day to before midnight filter day.

Thanks,

-Jon

thomash82948276
Level 3
Level 3

Thanks Jon

When you say "truncate the right hand side so it’s a day", what syntax is needed to do that exactly?

Many thanks

Tom

wodnicki
Correct answer by
Community Advisor
Community Advisor

IIRC it’s ToDate().

View solution in original post