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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Date picker question
Power Apps
Answered

Date picker question

(0) ShareShare
ReportReport
Posted on by 32

How can I display dates like below (in Red)  example after I select a date from the date picker:

 

Example: Selected date is: 22/10/2018 Screen Shot 2018-10-25 at 9.45.42 AM.png

 

Result:

 Monday 22/10               Tuesday 23/10               Wednesday 24/10               Thursday 25/10               Friday 26/10

 

Thanks

 

Categories:
I have the same question (0)
  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    Do you want to select a date, and show that date and the four subsequent dates? You can use a horizontal gallery with the following expression for its Items property:

    AddColumns(
     [0,1,2,3,4],
     "Date",
     DateAdd(
     DatePicker1.SelectedDate,
     Value,
     Days))

    And inside the gallery template you can have a pair of labels, with the following values for their respective Text properties:

    Text(ThisItem.Date, "dddd") // Name of the day of week
    Text(ThisItem.Date, "dd/mm") // Day/month

    And you can format the day/month label to show the date in Red.

    Another option is to use the HTML Text control and have both pieces of information as a single control, using this expression for its HtmlText property:

    Text(ThisItem.Date, "dddd") &
     " <b><font color='red'>" &
     Text(ThisItem.Date, "dd/mm") &
     "</font></b>"

    The attached app shows both alternatives.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard