cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Add BUSINESS DAYS to time stamp

Hi!

 

I need to calculate a 'Due Date' that is 30 BUSINESS DAYS from today. So far, I know that the following formula gives me 30 (general) days from today (including weekends): formatDateTime(addDays(utcNow(), 15), 'yyyy-MM-dd').

 

Any ideas on how to calculate 30 business days (excluding weekends) from today would be greatly appreciated!!!

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User
Super User

Hi

THere are several threads on how to calculate business days with Microsoft Flow:

in this way it is explained how to do the same calculation you are looking for backwards

I would recommend to apply the same approach with minor changes i.e. using addDays(outputs('CurrentDate'),1) instead of addDays(outputs('CurrentDate'),-1)

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

1 REPLY 1
efialttes
Super User
Super User

Hi

THere are several threads on how to calculate business days with Microsoft Flow:

in this way it is explained how to do the same calculation you are looking for backwards

I would recommend to apply the same approach with minor changes i.e. using addDays(outputs('CurrentDate'),1) instead of addDays(outputs('CurrentDate'),-1)

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,584)