Simon Mourier's Avatar
Simon Mourier's blog (1351 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • c#
  • controls
  • winui
  • xaml

How to format a DatePicker in WinUI 3 to display date format as: day/month/year (dd/MMM/yyyy)?

May 5, 2023 See the question and my original answer on StackOverflow

The easiest way is to configure the application's package.appxmanifest to set

<Resource Language="sr-Latn-RS"/>

as instructed in the official documentation Localize your WinUI 3 app

and the picker will update it's UI automatically:

enter image description here

  • SmoBlog © 2010-2025 Simon Mourier. All rights reserved.
  • Privacy & Terms