Hi John,
For this you can write a completely new VB .NET code stage and well get the results. I can suggest you that but keeping the integrity of the above thread intact that says in particular to not use any code stage and get the result, the best approach I can think of is to create a handy excel template with you where you can have write the cell value let's say 'A1' as the date from where you need to find the week number and in the same excel you can have a formula ready before even automating it via Blue Prism, let say 'A2' with the formula as:
=WEEKNUM(A1)
So essentially what you are gonna do is, you will write the date in the excel cell 'A1' and then you will fetch the calculated formula value from the cell 'A2' to get your desired week number. This is probably the easiest way to go around!
------------------------------
----------------------------------
Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website:
https://devneet.github.io/Email: devneetmohanty07@gmail.com
----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.