Is there any way to get last one year dates from current date in UIPATH,
as we solve this using calender in python, java or other languages
is that will be good idea to use python code for the same or we can achieve this by vb script too
Regards
Is there any way to get last one year dates from current date in UIPATH,
as we solve this using calender in python, java or other languages
is that will be good idea to use python code for the same or we can achieve this by vb script too
Regards
Hi,
not sure to get it well… do you mean today’s date minus 1 year ?
Thanks for Quick Reply @mustafa.altinbasak
I mean current Date that is 11:09: 2018 - one year(that is 11:09:2017)
now I need list of Dates as follows [“11:09:2017”,“12:09:2017”…….“11:09:2087”]
Hi Aditya,
Try this and loop it as per your need.
DateTime.Now.AddYears(-1).ToString(“dd:mm:yyyy”)
Hey SenthilKumar, this is giving “11:09:2017” but not a Array
i’m trying to get all dates in between “11:09:2017” and Today Date
Regards
Aditya
Hi Aditya,
Give it a try and tell me if it works.
LastYearsDates.xaml (8.7 KB)
Best regards,
Mustafa
Hey Mustafa,
Thanks for your Help
i’m unable to open the file inside studio
Exception is Root element is missing!!
is this file is Broken?
Regards
Aditya
If not working… give it a last shot with this one. For some weird reason, my files are on “readonly” mod for ever once I save them.
Main.xaml (8.4 KB)
Wao!! Great it worked!!
Thank you Very much Mustafa
Regards
Aditya
Hi Mustafa,
Thanks, Nice job.
My pleasure
Hello Mahendra,
I think it will be better for you to create a new topic to let this one clean, and also to get more visibility.
thanks I have created a new one.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.