Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Qs1+LlsOoOgkxlbOf8cVrV
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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 348 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 193

#3
stampcoin Profile Picture

stampcoin 142

Overall leaderboard
Loading started