web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 1LuAgKU1T8PDvP5OBGG/ZP
Power Automate - Using Connectors
Answered

Add days to time stamp

Like (0) ShareShare
ReportReport
Posted on 25 Feb 2018 22:17:58 by

Hello

 

I am trying to add two days to current day stamp but it is not working

Have tryed 

addDays(utcnow(),+2,'dd-MMMM-yyyy')
 
Any ideas for me
I have the same question (0)
  • Mahipundir Profile Picture
    68 on 03 Mar 2022 at 16:19:16
    Re: Add days to time stamp

    thanks for the answer, 

     

    Is there any way I can add 2or3 days, data given by MS form or by manual tigger.? currently I'm using this expression which only adds days to current date. 

    formatDateTime(addDays(utcNow(),2),'dd-MMMM-yyyy')

    Thank you so much in advanced.
     
     
     
  • Khh Profile Picture
    2 on 19 Feb 2019 at 10:24:59
    Re: Add days to time stamp

    Hi, 

     

    Have a date field 'End Date' in SharePoint which I'm trying to send an email notification 30 days after the date set in that field.

     

    So rather than add days to UTC now I'm tring to add days to the date field 'End Date'

     

    I want my flow condition to be 'End date is equal to  End date + 30days'

     

    Is this possible and can anyone help with the expression?

  • Community Power Platform Member Profile Picture
    on 21 Dec 2018 at 06:51:04
    Re: Add days to time stamp

    I tried these steps in "Manually trigger a flow to create a task in Outlook" with the OOTB Flow template. It doesn't work.

     

    However, when I create a blank flow and then perform the steps; it works like a charm.

     

    Hence, the Flow Template for "manually trigger a flow to create a task" is broken and doesn't support setting due date.

  • vecerpa Profile Picture
    786 on 27 Feb 2018 at 06:12:00
    Re: Add days to time stamp
    Hi @Anonymous,
    Yes it is possible, just in formatdate use 'dddd' and this will give you day in name like Monday.
    P.
  • Community Power Platform Member Profile Picture
    on 26 Feb 2018 at 23:17:10
    Re: Add days to time stamp

    Hollo again @vecerpa

     

    One more question if i may

     

    Do you know if i can add the weekday name to the date

     

    for example "Monday, 26-February-2018"

  • Community Power Platform Member Profile Picture
    on 26 Feb 2018 at 21:34:56
    Re: Add days to time stamp

    Hi @vecerpa

     

    Now is working fine, thank you so much

     

    Greatings from Iceland

  • Verified answer
    vecerpa Profile Picture
    786 on 26 Feb 2018 at 21:25:43
    Re: Add days to time stamp

    Hi @Anonymous,

     

    I use it directly in mail notification, no need to compose it. Just use expression inside body of email:

     

    FlowParamOnStart4.PNG

     

    And there is notification that came to mail:

     

    FlowParamOnStart5.PNG

    So my question is, as I see that output from compose is named as output and you are using two compose actions, if you placed correct output to body. I don't see the dynamic contect tab on left on printscreen.

    P.

  • Community Power Platform Member Profile Picture
    on 26 Feb 2018 at 21:03:42
    Re: Add days to time stamp

    Hi @vecerpa 

     

    I am sorry for bothering you

    The string just does not want to work for me 🙂

    It just gives me the same date as the first string

     

    formatDateTime(utcnow(),'dd-MMMM-yyyy') gives me the current date as i want

    Attached are shipping documents for our flight into Liege 26-February-2018

     

    formatDateTime(addDays(utcNow(),2),'dd-MMMM-yyyy') also gives me the same date

    • Goods are for Bell arrival on 26-February-2018

     

    But what i want to do is to have the date 2 days later 

    • Goods are for Bell arrival on 28-February-2018

     

    I have tryed for days 

  • vecerpa Profile Picture
    786 on 26 Feb 2018 at 15:53:07
    Re: Add days to time stamp

    Hi @Anonymous,

     

    Sorry I had 30 days in expression I posted, the correct one is below:

     

    formatDateTime(addDays(utcNow(),2),'dd-MMMM-yyyy')

    As addDays() adds number behind , to utcNow() - today.

    Hope it will help.

    P.

     

     

  • Community Power Platform Member Profile Picture
    on 26 Feb 2018 at 08:31:50
    Re: Add days to time stamp

    Hi 

     

    Thank you for your reply, but is not working.

    I am creating an flow that sends email when a PDF file is created in a specific file 

    The email must contain 2 dates, current date and 2 days later date

     

    For current date i am using : 

    formatDateTime(utcnow(),'dd-MMMM-yyyy')

     

    I have not been able to find a way to have the date 2 days into the future 

     

    https://icecogmbh-my.sharepoint.com/:i:/g/personal/robert_johannesson_ice-co_com/EbLuR_r1ef1DqMiWZh_KPIIBAucViqrzTUXsjAvKITaVFA?e=yk0zLZ

     

    https://icecogmbh-my.sharepoint.com/:i:/g/personal/robert_johannesson_ice-co_com/EQPvQM6-NW9LkEH-TUNImpsB5Q02rndI_r3R_D-rvAjAkg?e=eZG1ka

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Loading started
Loading complete