Weekday Function

Hi,

Is there any function available in Blue Prism that is equivalent to Weekday? If not, any idea how to achieve this? Basically, I'm trying to find the date for the last Friday in a month. But, to in order to generalise it more so that it would find any weekday in a month, I'll be passing the weekday name.

Thanks,
 
You can make your own object:

Namcespace imports: Microsoft.VisualBasic
Input: inputDate
output: Day_Of_Week
code: Day_Of_Week = Weekday(inputDate,0)
 
Top