Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Modern Date Picker / UK date format

(11) ShareShare
ReportReport
Posted on by 85

From what I can see, the Modern Date Picker control is still unable to display a short date in anything other than US format, as in 02/29/2024.  Most of the world, according to Wikipedia (https://en.wikipedia.org/wiki/Date_format_by_country), would write that date in the format 29/02/2024.   So most of the world is unable to use the Modern Date Picker without some ugly workaround, such as overlaying a text label.

 

I've been waiting patiently for this support to be added, thinking that it would happen shortly after the control's introduction.  But still, many months on, there's no sign of it, and no mention of it on a recent blog post: https://powerapps.microsoft.com/en-us/blog/recap-of-modern-controls-evolution-in-2023-and-a-glimpse-into-2024-innovations/

 

To me, it would make sense to use the locale set by the browser (see https://www.localeplanet.com/support/browser.html) or the device (if using a mobile app) as the default format, and allow this to be overridden by the maker if they want to do that.  

 

Am I missing something?  Perhaps there's some way of persuading the Modern Date Picker to use UK format that I haven't found.  (entering "dd/MM/yyyy" into the "Format" property would make sense to me, but that doesn't work)

 

Anyone got any insights on this?

Categories:
  • Grzegorz_Łopata Profile Picture
    2 on at
    Re: Modern Date Picker / UK date format

    Hi!

     

    I found a solution how to display UK date format (dd.mm.yyyy) in Modern Datepicker 🙂

     

    You should use a classic datepicker, a modern datepicker and a label, then follow the below instructions:

    1. Set FontSize property of Modern DatePicker to 0.1
    2. Set DefaultDate property of Classic DatePicker to ModernDatePickerCanvas.SelectedDate
    3. Set Format property of Classic DatePicker to "dd.mm.yyyy"
    4. Set Text property of Label to Text(ModernDatePickerCanvas.SelectedDate, "dd.mm.yyyy")

    5. Place a text label in the Modern DatePicker

    6. Set Visible property of Classic DatePicker to false

    Now You can Patch this field:

     

     

    Patch(Source, {ColumnName: ClassicDatePicker.SelectedDate})

     

     

    This is the result:

    Grzegorz_Lopata_0-1720346599246.png

  • Mike_Tuszynski Profile Picture
    3 on at
    Re: Modern Date Picker / UK date format

    I used this and it works as was expected. Thanks a lot for this solution 🙂 ps. generally it's European format 🙂

  • Grzegorz_Lopata Profile Picture
    4 on at
    Re: Modern Date Picker / UK date format

    .

  • LucyCC Profile Picture
    95 on at
    Re: Modern Date Picker / UK date format

    I can't believe that they've DISABLED the format option for classic controls when you've modern controls enabled. This is bizarre and crazy making. It's almost like Microsoft are on a mission to spread the US date format!

  • WillPage Profile Picture
    1,881 on at
    Re: Modern Date Picker / UK date format

    The worst thing is if you have modern controls enabled, even the "classic" date picker loses the ability to set the date format.

  • timl Profile Picture
    34,955 Super User 2025 Season 1 on at
    Re: Modern Date Picker / UK date format

    Hi @Interlock 

    I agree - I'm in the UK. I've added my feedback. Perhaps MS might prioritise this higher if enough people do the same.

     

    timl_0-1706788373710.png

     

  • WarrenBelz Profile Picture
    146,700 Most Valuable Professional on at
    Re: Modern Date Picker / UK date format

    Hi @Interlock ,

    I agree as below and Format does not allow "dd/mm/yyyy" like a classic control (I just tested it). If you look down at the responses in this blog from @mdevaney , you will see that it is not currently supported. I have not moved to any Modern controls currently as they do not do anything really useful new, but more importantly have a lot of shortcomings such as this.mmddyyyyCountries.jpg

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard