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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
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?
I have the same question (0)
  • Martin Dráb Profile Picture
    240,492 Most Valuable Professional on at
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
SajeedMullaji Profile Picture

SajeedMullaji 698

#2
Martin Dráb Profile Picture

Martin Dráb 327 Most Valuable Professional

#3
CU10121822-0 Profile Picture

CU10121822-0 320

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans