How to calculate the date of the very next friday?

Hi! i’m currently working on a process that checks and invoice and need to input a payment date which should be the friday of the ongoing week (next friday from today). I already read the Date and Time Variables but couldn’t figure it out. Every bit of help is appreciated.

Hi @gustavogomezpwc: Try this:

Assign a date time variable to Today.AddDays((Today.DayOfWeek - DayOfWeek.Friday)*-1)

I found this article useful.


Exactly what I needed Thank you so much!:grinning:

De nada! Happy Automating! :slight_smile: