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 / default to today plus ...
Power Apps
Answered

default to today plus one in powerapps must be weekday

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a short date field in sharepoint pulled into a power app.  I can make the default today()+1 but if it is Friday it defaults to Saturday. How to make calendar default to today plus 1 but it also must be a week day within two weeks of today. 

 

Default date is currently DateAdd(currentday,1,Days)  but as today is Friday the next date is Saturday instead of Monday.

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    You can consider the following formula:

    DateAdd(Today(), If(Weekday(Today(), Sunday)=6, 3,1), Days)

    If you need to be able to do this on other days of the weekend, then consider the following:

    DateAdd(Today(), With({_w: Weekday(Today(), Monday)}, If(_w>=5, 8-_w, 1)), Days)

     

    I hope this is helpful for you.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard