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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Incorrect date display...
Power Apps
Answered

Incorrect date displaying in app

(0) ShareShare
ReportReport
Posted on by 110

I'm using SharePoint as the record source for a canvas app and the data I have in SharePoint for this record is:

randomsky_1-1636697661382.png

But when I see the Date of Birth in the Canvas app, it shows this:

randomsky_2-1636697698940.png

I'm not sure why the date incorrectly displays for the date of birth. Any help appreciated.

 

 

 

Categories:
I have the same question (0)
  • shoog Profile Picture
    2,164 on at

    The DatePicker has a property "StartYear", which is set to 1970 by default, which will cause any date before 1970 to show as 1/1/1970.

    You would want to change that to an appropriate value.

  • randomsky Profile Picture
    110 on at

    I tried changing the "startyear" property to 1940 but now it displays 7/6/1959 as the date of birth, which is still incorrect.

  • Verified answer
    shoog Profile Picture
    2,164 on at

    It seems most likely you are running into a formatting issue, since the example you show is dd/mm/yyyy in stead of the default American formatting.

    This can be fixed by changing the Default property of your datepicker to something like the following (replace SPList.DateColumn with the name of your input and "nl-NL" to the country code you use to store the dates):

    DateTimeValue(SPList.DateColumn, "nl-NL")

     

  • randomsky Profile Picture
    110 on at

    Thanks @shoog , yes that resolved the issue

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard