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 picker sends wron...
Power Apps
Answered

Date picker sends wrong date and wrong format

(0) ShareShare
ReportReport
Posted on by 4

Hi, 


I am dealing with a date issue that nobody has been able to solve so far. 

I have created two forms in PowerApps, that sends a selected date to an excel file. 

 

Settings in PowerApps: 

Default date: Today()

Date time zone: local

Format: dd/mm/yyyy

 

My browser settings, windows OS region settings and excel region settings are also set  local (CET).

My excel column capturing the date has the correct format (also dd/mm/yyyy).

 

Some examples of the results whenever I am trying to submit a form with a selected date of

Submitting 01/08/2022, excel shows me 08/01/2022.

Submitting 10/08/2022, excel shows me 08/10/2022

Submitting any date with a day after the 12th (any month), will corrupt my form (submit form will show an unknown error).

 

It seems that the month and the day are being swapped, since excel doesn't accept a number higher than a 12 as the month.

 

Anyone can help?

 

Categories:
I have the same question (0)
  • rb Profile Picture
    835 Super User 2024 Season 1 on at

    I will often use dd/mmm/yyyy (ie. 10/Aug/2022) when writing to Excel so that it cannot get the d's and the m's mixed up. It should still interpret it as a date. Can you try that and let me know?

     

    Something like:

    Text(Today(), "dd/mmm/yyyy")

     

  • Saesje Profile Picture
    4 on at

    Hi @metsshan 

     

    Thanks! In what field are you adding the formula? And is it on the date picker control or the data card?

  • Verified answer
    rb Profile Picture
    835 Super User 2024 Season 1 on at

    Hey, I did not realise you were using a Form. I threw something together just to make sure it works. I used this formula in the data card Update property:

    Text(DateValue1.SelectedDate + Time(Value(HourValue1.Selected.Value), Value(MinuteValue1.Selected.Value), 0), "dd/mmm/yyyy")

    metsshan_0-1660127370290.png

     

    I'm not really addressing the root problem here, but in the past I have saved a lot of troubleshooting time by using the dd/mmm/yyyy format with Excel.

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
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard