web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Friendly date format
Power Apps
Unanswered

Friendly date format

(0) ShareShare
ReportReport
Posted on by 219

Hi,

Can you please help me how to show date field value in this format as below?

July 18,2022. 

 

Currently I am using .LongDate logic but it is showing me like Monday, July 18,2022. I dont need to show Monday but just July 18,2022. 

 

Thanks. 

 

Categories:
I have the same question (0)
  • RusselThomas Profile Picture
    4,014 on at

    Hi @SumanthDundi7 

    Text(Today(), "mmmm dd,yyyy")

    Obviously replace Today() with whatever your datevalue input is...

    Hope this helps,

    RT

  • SumanthDundi7 Profile Picture
    219 on at

    Hi @RusselThomas , Thank you.

    But I would need to do it on a date field itself. 

  • RusselThomas Profile Picture
    4,014 on at

    hi @SumanthDundi7 ,

    Can you be more specific then please - What control are you using, which property, and what is your current expression/code on this property?

    Kind regards

    RT

  • SumanthDundi7 Profile Picture
    219 on at

    Okay @RusselThomas . I am using a formula for work scheduler App to show all next weeks dates as in the below screenshot. In the default property of Monday date field type I am using the formula as below.

     

    DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday)+7,Days)

     

    And for Tuesday till Sunday I am adding +1,+2 etc using DateAdd formula. 

     

    SumanthDundi7_0-1658145418326.png

     

    Thank you

     

  • RusselThomas Profile Picture
    4,014 on at

    Hi @SumanthDundi7 
    Ok, so your date input value is

     

    DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday)+7,Days)

     

    So your final expression is

     

    Text(DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday)+7,Days), "mmmm dd,yyyy")

     

    Remember that as soon as you display a date in a text control like a label, it gets typed to text anyway.  The data itself might be a date type, but to display, it will get retyped to Text.  This shouldn't affect your app as you shouldn't necessarily be using the text label as your date source.  If you are, then you'll have to type it back using DateValue() - but for display purposes, the above example should suit your needs.

    Kind regards,

    Russel

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard