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

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!


Follow me on Twitter at @QG_LeeJHarris

Or on LinkedIn at in/leejharris

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!


Follow me on Twitter at @QG_LeeJHarris

Or on LinkedIn at in/leejharris

View solution in original post

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,368)