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 / Excel Date to Sharepoi...
Power Apps
Answered

Excel Date to Sharepoint List then Show in powerapps

(0) ShareShare
ReportReport
Posted on by 69

Hello,

I have created a flow to import data from Excel to SharePoint List. this includes a date.

I have tried:

Excel field farmated as Date AND SP List formated as Date ==> Failed

Excel field farmated as General AND SP List formated as Date ==> Failed
Excel field farmated as Date AND SP List formated as Text ==> Succeed

Excel field farmated as Text AND SP List formated as Text ==> Succeed

 

The date now on SP List shows numbers in the format 44276 (field is a text field).
when I convert this to date using Datevalue or Text(datevalue the PowerApps lable shows wrong day and month and even the year is 44xx.

 

I would appreciate any help to transfer or convert it correctly into German date format (only date) dd.mm.yyyy

 

Regards,

 

Categories:
  • Verified answer
    Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Excel stores dates as the number of days since 01/01/1900.  The whole number portion is the actual number of days and the decimal portion is the fractional number of days.  so the calculation to convert it to a date looks like this.

     

    DateAdd(DateTimeValue("1899-12-30 12:00:00 AM"),RoundDown(( Value(ExcelDate)* 86400),0), TimeUnit.Seconds)
    

     

    You use 12/30/1899 because 1900 didn't have a leap day 2/29 and the count starts with 1/1 as the first day.  So math is off by 2 if you use 1/1/1900 .

     

    If your locale doesn't put it in German format automatically then you can force it with

    Text(DateValue, ShortDateTime,"de-DE")

  • MJ_RT Profile Picture
    69 on at

    thanks, but where should this code go?

     

    DateAdd(DateTimeValue("1899-12-30 12:00:00 AM"),RoundDown(( Value(ExcelDate)* 86400),0), TimeUnit.Seconds)

     

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    When you are displaying the date from Excel or saving it to SP.  This will translate the serial date from Excel to an actual Date Time value.

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
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard