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 / Set a default date of ...
Power Apps
Answered

Set a default date of year + 1 not working

(0) ShareShare
ReportReport
Posted on by 86

Hello everyone,

 

I have in my app, a date field. I would like to set the default date of this field as currentDate + 1 year.

 

To do this, I put this code on my DefaultDate property:

 

Date(
 Year(Today()+1),
 Month(Today()),
 Day(Today())
)

 

But it doesn't seem to work. Here are the result without the '+1'

Aurelie_0-1651223285889.png

 

And the result with the '+1'

Aurelie_1-1651223334714.png

 

 

Do someone knows if it is possible to do what I want?

 

Any idea will be appreciated

 

thank you 🙂

 

 

Categories:
  • Verified answer
    alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on at

    Hello,

     

    To add a year to the current date you can use

    DateAdd(Today(),1,Years)

     

    Best regards,

    Alaa

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Use DateAdd function as follows:

    Date(
    Year(DateAdd(Today(),1,Years)),
    Month(Today()),
    Day(Today())
    )

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • Aurelie Profile Picture
    86 on at

    @eka24 , @alaabitar 

     

    thanks to both of you, it's working perfectly 🙂

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 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard