Hi can u help me please
I want to write all the dates from the first day of the month to the last day of the month.
1.06.2021
31.06.2021
and the robot should be able to do this for all months
Hi can u help me please
I want to write all the dates from the first day of the month to the last day of the month.
1.06.2021
31.06.2021
and the robot should be able to do this for all months
@sedayngl_sedayngl33 _ here you go… I will give you the steps…so that you can easily try yourself…
StartDate = Convert.ToDateTime(New DateTime(Now.Year, Now.Month, 1))
endDate = Convert.ToDateTime(new DateTime(now.Year,now.Month+1, 1).AddDays(-1))
Here StartDate and EndDate are Datetime variables…
For Each Loop
Type Argument is System.Datetime
Enumerable.Range(0, 1 + endDate.Subtract(startDate).Days).Select(Function(x) startdate.AddDays(x)).ToArray()
Write Line
item.tostring("d.M.yyyy")
Output
BTW: There is no 31st in June
Hope this helps…
read the solution on this link
you can implement the same in uipath usig the linq query.
Enumerable.Range(1, Date.DaysInMonth(2021, 06)).Select(function (d) New Date(2021, 06, d).ToString("d.M.yyyy")).ToList
To Make it dynamic as per the @sedayngl_sedayngl33 request…
Enumerable.Range(1, Date.DaysInMonth(now.Year, now.Month)).Select(function (d) New Date(now.Year, now.Month, d).ToString("d.M.yyyy")).ToList
Thank u ıt worked
thank u ıt worked
Hi
New question ı want to all each date row
B1 cell contaıns 1.06.2021 C1 cell contaıns 2.06.2021 D1 cell contains 3.06.2021…end of month
Hi
New question ı want to all each date row
B1 cell contaıns 1.06.2021 C1 cell contaıns 2.06.2021 D1 cell contains 3.06.2021…end of month
THANK YOU IT WORKED
please mark it as a solution
Hello
I want to dedicate all the days of a month to seven days the robot should be do thıs for all month
I am unable to understand your problem statement
That is, for example
1.06.2021 …08.06.2021 first week
2.06.2021 …09.06.2021 second week or 2.04.2021 … 9.04.2021 first week
first day able change…
Send me sample output excel file
Hi
Can u help me please ı have an excel sheet B6 cell ıncludes “vegetables” ı want to output B6 that is cell name?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.