Skip to main content

Notifications

Community site session details

Community site session details

Session Id : jtzO2zyy8HGekCzTqyK9mW
Power Apps - Building Power Apps
Answered

DateTimeFormat.LongDate without language setting day name not visible

Like (0) ShareShare
ReportReport
Posted on 4 Jan 2024 11:28:54 by 4

Hi all, 

 

I encounter a problem with my APP. 

I want to show a date in text format. 

 

I use this command to show it:

Text(ThisItem.SubmitDate, DateTimeFormat.LongDate) 

 

It shows the date in format on first browser language settings. 

But, if the user has many languages on browser language settings? 

From App it's possible to read the standard device settings? 

 

It's possible to use the standard windows user settings?

 

 

Thanks at all

 

 

Categories:
  • pwrapp_user3962 Profile Picture
    4 on 04 Jan 2024 at 14:11:19
    Re: DateTimeFormat.LongDate without language setting day name not visible

    Thanks for the response!
    The custom format is a very elastic mode to display informations.


    The question is : choice the correct language for show information to user.

    In complex environments, with many languages configured on device, like a developer user or a web designer user, how I can determine the correct standard language? The standard setting language is what the user has like default on the browser. 

     

     

     

  • Verified answer
    MaximusDecimus Profile Picture
    281 on 04 Jan 2024 at 11:36:59
    Re: DateTimeFormat.LongDate without language setting day name not visible

    Hi @pwrapp_user3962 ,

     

    While I'm not sure how it would behave when there are multiple languages for the browser (think it'll just use the active region for date format), you could specify the format manually assuming that your end goal is to just have 1 style of date.

     

    You could try using the below to customize the style, this would override any browser/profile region settings and display the date in the way you specify.

    Text(Today(), "dddd mmmm d, yyyy")

     

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 44 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 36

Overall leaderboard
Loading started