cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
demarchiori
Level: Powered On

How to compose Expressions Adddays, addhours, addminutes

Hi everybody,

 

I am trying to create a scheduled flow to create an appointment in my agenda, in this schedule the flow starts at a specific time 1 week before the schedule.

For this to happen, the start date must be 7 days, 3 hours and 15 minutes from the recurrence date.

 

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: How to compose Expressions Adddays, addhours, addminutes

Hi @demarchiori 

Try this expression to get the start date. When using multiple functions you can stack them this way and use the result of the previous as the input for the next.

addMinutes(addHours(addDays(utcNow(),7),3),15)
 

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

1 REPLY 1
Highlighted
Super User
Super User

Re: How to compose Expressions Adddays, addhours, addminutes

Hi @demarchiori 

Try this expression to get the start date. When using multiple functions you can stack them this way and use the result of the previous as the input for the next.

addMinutes(addHours(addDays(utcNow(),7),3),15)
 

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,405)