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 problem sa...
Power Apps
Answered

date format problem save date powerapps to excel

(0) ShareShare
ReportReport
Posted on by

Hi everyone, I trie to save a single date with time in my excel, but the result is totally diferent.

 

I have a datacard, inside it  have a datavalue setting with this formula Text(now(),"dd/mm/yyyy hh:mm:ss"),because  I need to save like a timestamp record.

But when i saved in to excel online, the date appear like this 08/03/2020  16:19:54

 

But the real and you can see in PowerApps datavalue is 03/08/2020 10:20:27

Some idea?? I think maybe is related with the UTC o local But in PowerApps I put Local.  

I don't know if in excel online o OneDrive I can change it??

 

 

Thanks !!!

Categories:
I have the same question (0)
  • cds Profile Picture
    1,001 on at

    Did you read this article

  • SaiKrishnaGudluru Profile Picture
    499 on at

    @jvenegash I am unable to repro this issue. I am able to save and retrieve the data as it is.

     

    Otherwise you can try directly this way - Text(Now(),"[$-en-US]mm/dd/yyyy hh:mm:ss")

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

    Hi @jvenegash:

    Do you mean that the time in Excel is different from time loading in PowerApps? 

    The reason why you met this problem is that:

    • Excel save time as UTC time by default.
    • PowerApps load time as local time by default.

    So when PowerApps load time, it will transfer to local time zone automatically.

    In order to solve the problems mentioned above, I suggest you save local time to Excel and load time in PowerApps as local time too.    //make time zone the same.

    When you are changing the data source, you need to use the following formula:

     

    DateAdd(Now(),-TimeZoneOffset(),Minutes) 

     

    instead of

     

    Text(now(),"dd/mm/yyyy hh:mm:ss")

     

    When you load the date in excel, you need to use the following formula:

     

    DateAdd(Thedate,TimeZoneOffset(),Minutes) 

     

     

    2.JPG

    I think this link will help you a lot:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Date-Picker-Sends-Wrong-Date/td-p/488289

    Best Regards,

    Bof

     

  • ErwanF Profile Picture
    94 on at

    Mate, you are the best. Kudos!!

    I had this everywhere on my apps. 

    Text(now(),"dd/mm/yyyy hh:mm:ss")

     

    You just saved me hours of troubleshooting. Many thanks and would buy u a beer!

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard