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 / How to use DateAdd to ...
Power Apps
Answered

How to use DateAdd to work out due date one month from created

(0) ShareShare
ReportReport
Posted on by 161

Hi Everyone. 

 

I am trying to apply a Due Date value based on 1 month from created date. I know I can use the following Text( DateAdd( Today(), 1, Months ),"[$-en-GB]dd-mm-yyyy hh:mm" ) but this is based off 'Today'. I want to be able to replace Today() with Created. No matter what I do, I cannot seem to get this to work. Can someone please help me out and let me know how I can create a due date based on Created date + 1 month 

Capture.PNG
Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @pcoombe 

    DateAdd(DateTimeValue(Text(DataTable1.Selected.'Created On')),30,Months)

    Worked for me.Annotation 2020-06-29 074221.png 

  • pcoombe Profile Picture
    161 on at

    Hi @Drrickryp 

     

    Looking at your formula below, the TEXT section is where I am having problems. Based on your formula I would use the following DateAdd(DateTimeValue(Text(SharePointForm1.Selected.'Created')),1,Month) where your value of Datatable1.Selected is used. I suppose I am trying to work out what Datatable1.Selected is in your example compared to mine. Is the 'Selected' a value? 

     

    cheers

    Phil

    Capture.PNG
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @pcoombe 

    Yep, I was referring to my datatable in that formula.  I would replace it with the name of your gallery. To test it, put a label on the screen and use that formula and see if it works.

  • pcoombe Profile Picture
    161 on at

    hi @Drrickryp 

     

    Really appreciate your help here but it just isnt working for me. Not sure where my disconnect is. Really do appreciate your time however.

     

    thanks

    phil 

  • Verified answer
    pcoombe Profile Picture
    161 on at

    Hi @Drrickryp  just to let you know I managed to get this to work. I didnt need the Selected part of the formula. Thankyou for you assistance here

    Capture.PNG

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard