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 / Extract Day (Number) f...
Power Apps
Answered

Extract Day (Number) from DatePicker Content

(0) ShareShare
ReportReport
Posted on by 5,329 Super User 2025 Season 2

I have Form1 that has a DatePicker.

I have a need to extract the 'Day' as a number from the date chosen in the DatePicker.

I have a Label that has the following formula, which extracts the day but as text, I need the number - in this case '26', is this possible?   - Text(DataCardValue12.SelectedDate, "dddd")

 

Phineas_0-1701043837575.png

 

Categories:
I have the same question (0)
  • Verified answer
    Phineas Profile Picture
    5,329 Super User 2025 Season 2 on at

    Figured it out -
         Mid(DataCardValue12.SelectedDate, 4 ,2 )

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
Kalathiya Profile Picture

Kalathiya 428

#2
WarrenBelz Profile Picture

WarrenBelz 374 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard