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 / Date format does not a...
Power Apps
Answered

Date format does not appear correctly in Card

(0) ShareShare
ReportReport
Posted on by 206

I have a DetailForm where it draws data from a Gallery (standard auto-build). One value is a date, but shown as a number (e.g. 39109). I am trying to get it to appear as a normal date (27/01/2007). However, everything I do either displays nothing or displays the wrong date (01/09/3910).

 

The item is in a card:

J_Taylor_2-1625017580984.png

The card has the following properties:

J_Taylor_0-1625017480422.png

 

The Value has the properties:

J_Taylor_1-1625017555277.png

 

The "Default" was initially "Parent.Default" with the resultant value being 39109. 

I attempted to change the "Default" to "DateValue(Parent.Default,"en-GB")", but I believe "Parent.Default" is formatted as a number, so had an error. So, I changed it to DateValue(Text(Parent.Default),"en-GB") and the result was 01/09/3910.

 

What am I doing wrong here? How do I get it to show "27/01/2007"?

 

Thank you for your assistance.

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

    Hi @J_Taylor ,

     

    Where does your date come from?

     

    Best Regards,

    Wearsky

  • J_Taylor Profile Picture
    206 on at

    A SharePoint List.

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @J_Taylor ,

     

    What the data type of the column?

    vxiaochenmsft_0-1625021400652.png

    vxiaochenmsft_1-1625021408469.png

     

    TestDate column in the image is a Date column.

     

    Best Regards,

    Wearsky

     

     

  • J_Taylor Profile Picture
    206 on at

    I believe it is a number.

    J_Taylor_0-1625021742861.png

     

    From SharePoint:

    J_Taylor_1-1625021871900.png

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @J_Taylor ,

     

    What column do you use to save the date?

     

    vxiaochenmsft_0-1625021864095.png

     

    Best Regards,

    Wearsky

     

  • J_Taylor Profile Picture
    206 on at

    The SharePoint column is saved as a number. It doesn't appear that I can change it to a date:

    J_Taylor_0-1625021967188.png

     

    I imported the List from an Excel table. I'm not sure if that explains why I can't change it.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @J_Taylor ,

     

    So the root cause is because you saved the date in the wrong column...

    The number column of the sharepoint list cannot be converted to a date column.

    Please re-import the data in Excel into the list.

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

  • J_Taylor Profile Picture
    206 on at

    Thank you, @v-xiaochen-msft, for your help in solving this problem. I am only very new to all of this. Are you able to advise me on a method to do this (re-import data to the SharePoint List)? The only way I know how to do it is delete the old List and create a new one. Is there a better way?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard