cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VS325
Helper I
Helper I

How to add last day of next month as default date?

Can someone please help me on how to add last day of next month as a default date? I already have first day of next month set as - Date(Year(Today()), Month(Today())+1, 1)

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Super User II
Super User II

Hi @VS325 ,

Just a thought, use:

DateAdd(
     Date(Year(Today()), Month(Today())+2, 1),
     -1,
     Days
)

 

Hope it helps !

View solution in original post

3 REPLIES 3
gabibalaban
Super User II
Super User II

Hi @VS325 ,

Just a thought, use:

DateAdd(
     Date(Year(Today()), Month(Today())+2, 1),
     -1,
     Days
)

 

Hope it helps !

View solution in original post

VS325
Helper I
Helper I

Thank you so much. Yes that works. I tried this also which works. 

 

DateAdd(
DateAdd(
Date(
Year(Today()),
Month(Today()) + 1,
1
),
1,
Months
),
-1,
Days
)

Yes, is the same logic. But you do an extra operation. 😊

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (77,667)