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 :
Power Platform Community / Forums / Power Apps / Creating Calculated Fi...
Power Apps
Unanswered

Creating Calculated Field to pull date only from Modified On CDS Standard field

(0) ShareShare
ReportReport
Posted on by

Hi all, 

 

First time posting an inquiry here. Let me know if I'm missing anything in order to help provide a solution:

 

I am trying to create an entity field that will reference the date only from a "Modified On" entity field that is a standard type field to my CDS entity. (EX: The Modified On field values typically looks something like: "2020-04-27T17:59:15Z" ; I would like to create a separate calculated field that references only "2020-04-27"). 

 

I appreciate any assistance in advance.

 

Thank you!

M. Ross


 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @msross :

    Do you want to get a value in "2020-04-27" format instead of "2020-04-27T17:59:15Z" ?

    The point is whether "2020-04-27" or "2020-04-27T17:59:15Z" are just strings, they look different because they use different target formats when converting from time values to strings.

    You can easily achieve it through the text function without creating new columns.

    Text(The value of the specified date,"[$-en]yyyy-mm-dd")

    Ive made a test for your reference.

    My data source:Accounts()

    1\Add a data table control

    Items: Accounts

     

    2\set the modified On columns text property to:

    Text(ThisItem.'Modified On',"[$-en]yyyy-mm-dd")

     

    I think this link will help you a lot:

    Text function in Power Apps

    Best Regards,

    Bof

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!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard