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

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:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,707 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
    68,707 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard