Al_Bert
(Al Bert)
June 7, 2021, 1:30pm
1
Hi all,
I have 2 columns:
Column-1 - the dates from datas
and Column-4 - result of the difference between the Column-1 and the date of today.
I cannot find the right formula for the Column-4 column to have the days between the date in the Column-1 column and today’s date.
Thanks to your help.
AL
1 Like
@Al_Bert ,
I think below link will solve your problem,
Al_Bert
(Al Bert)
June 7, 2021, 3:05pm
3
Hi Pankaj.Patil,
Thanks to this link, but concretely, how will it be translated in UiPath?
AL
Hiba_B
(Hiba Beldi)
June 7, 2021, 4:13pm
4
Hi @Al_Bert !
Here is a suggestion: Difference_of_dates_in_columns.xaml (7.1 KB)
Let us know if it does not work as expected !
Al_Bert
(Al Bert)
June 8, 2021, 7:51am
5
Hi Hiba,
Thanks to the file.
I have a problem :
Assign: Conversion from string “25/05/2021” to type ‘Date’ is not valid.
Hiba_B
(Hiba Beldi)
June 8, 2021, 8:59am
6
@Al_Bert Interesting, with the same data I am not able to have the error:
I suggest then the following workflow, but I am not able to know if it will help or not:
Difference_of_dates_in_columns.xaml (11.0 KB)
If it does not work, do the following:
Let us know if it still does not work as expected !
Al_Bert
(Al Bert)
June 8, 2021, 10:55am
7
Hiba,
I just changed into :
DateTime.ParseExact(row(“Column-1”).ToString, “dd/MM/yyyy”, System.Globalization.CultureInfo.CreateSpecificCulture(“fr-FR”))
Thanks to your help.
Great job
1 Like
system
(system)
Closed
June 11, 2021, 10:55am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.