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 / Power Apps changing da...
Power Apps
Unanswered

Power Apps changing date format (SP Lookup column)

(0) ShareShare
ReportReport
Posted on by

Hello-

I am working on a project that uses a SharePoint list as my primary data source. The SharePoint list has a lookup column called Class ID, which brings over a class start and end date. The issue I am having is that the date is showing in Power App as 2024-02-26T08:00:00Z. I only need it to show MM/DD/YYYY. I have found a lot of information on changing dates, but am not able to apply since the dates showing are from a lookup value. Any idea on how I can convert this, so its showing correctly in Power Apps as MM/DD/YYYY?

Any help would be amazing. 

Categories:
I have the same question (0)
  • elseb Profile Picture
    774 Moderator on at

    Hi,

     

    DateValue("2024-02-26T08:00:00Z") will result in: 26/02/2024

    you can also format it with text():

    Text(DateValue("2024-02-26T08:00:00Z"),"mm/dd/yy") to show what you need.

     

    although you may get the correct format already from the first command if this is your regions default format (i think)

  • jmccune1 Profile Picture
    on at

    Thank you for your reply. I am extremely new to Power Apps, which is why Im having a couple of issues the date being one of them. I know how to display the date if its entered into Power Apps, but im still a bit confused how I how Display the date correctly if its coming from SharePoint (Lookup) column. Do I put this code in the Display section of the field in Power Apps? It does not seem like it should be this hard, but its vexes me greatly. That and I am very confused on my checkboxes in Power Apps keeps going aways after I submit part of my form.. But that’s for another place. This project is due Thursday and I am getting concerned I wont figure these things out.

  • elseb Profile Picture
    774 Moderator on at

    You said the date is showing in power app as: 2024-02-26T08:00:00Z how is it being displayed? date picker, label? 

    let me know what is it and paste the code from default property, I will be able to help you further.

  • jmccune1 Profile Picture
    on at

    Thank you again.

    The item is displayed as : Choices([@'Student Profile - Processing New Hire Training'].'Class ID:Start Date')
    The default is blank. 

    jmccune1_0-1708285033082.png

     

     

  • elseb Profile Picture
    774 Moderator on at
    DateValue(Choices([@'Student Profile - Processing New Hire Training'].'Class ID:Start Date'))

    or if you want to format it further edit the format with:

    Text(DateValue(Choices([@'Student Profile - Processing New Hire Training'].'Class ID:Start Date')), "mm/dd/yy")

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard