Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

AOT query range can we convert datetime field to Date for filterning

(0) ShareShare
ReportReport
Posted on by 338
Hi Team,
 
I have a field which is datetime data type and for that field sometime data is showing as 2154-12-31 23:59:59 and sometime as 2154-12-31 00:00:00. I want to use that field as data entity and use in data entity and I have given value as (validToMaxValueRange()) which is restricting records which field as 2154-12-31 23:59:59 and am missing records for 2154-12-31 00:00:00.. So now am thinking to restrict in value by converting to only date in range do we have any function for it.
 
If not anyother solution please?
  • Martin Dráb Profile Picture
    Martin Dráb 230,836 Most Valuable Professional on at
    AOT query range can we convert datetime field to Date for filterning
    This is very closely related to Srimdax's previous thread: validto is created as 2154-12-31 23:59:59 and sometime it is created as 2154-12-31 00:00:00. I recommend addressing the other thread first, because it may (and should) solve the problem with filtering as well.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans