How to find difference of days between two dates in UiPath?

0 votes

Hello everybody!!

Can anyone help me to determinate how can I get the difference of days between two dates?

For example (yyyy-MM-dd):
Date1= 2019-11-01
Date2= 2019-11-03

The result will be 2 ( two days is the interval between that dates)

Nov 7 in RPA by Apeksha
• 1,100 points
40 views

1 answer to this question.

0 votes

Hey Apeksha, You can use the DateDiff function. Example:

Syntax: DateDiff(DateInterval, Date1,Date2)
Code: DateDiff(DateInterval.Day, “2019-01-30”,“2019-02-01”)

It will return the number of the days between the two dates as Integer Type.

Hope It helps!

answered Nov 8 by Abha
• 27,180 points

Related Questions In RPA

0 votes
4 answers

How to find the sum of 2 columns of an excel and display it in a 3rd column using UIPATH?

These are the steps to add two ...READ MORE

answered Aug 2 in RPA by Shivi Singhal
3,691 views
0 votes
1 answer

How to use Not contains function in string in UIPath?

you can use the following approach  strValue = ...READ MORE

answered May 16, 2018 in RPA by wrecker
• 3,110 points
2,466 views
0 votes
1 answer

How to select an item in UiPath that starts with a string

use a wildcard in selector. make sure that ...READ MORE

answered May 21, 2018 in RPA by wrecker
• 3,110 points
1,447 views
0 votes
1 answer

What is an Orchestrator in UiPath

Hi Ashmita, Orchestrator is a UiPath product that enables ...READ MORE

answered Mar 6 in RPA by Abha
• 27,180 points
523 views
+2 votes
1 answer

How can I connect Robots to Orchestrator in UiPath?

Hey Rakshit, for connecting Robots to Orchestrator, ...READ MORE

answered Mar 11 in RPA by Abha
• 27,180 points
6,747 views
0 votes
1 answer
0 votes
1 answer

How to get the filename of an email attachment in UiPath Studio?

Hey Apeksha, If your email contains just one ...READ MORE

answered Nov 8 in RPA by Abha
• 27,180 points
28 views
0 votes
1 answer

How to move all files from Source to Destination Folder in UiPath?

Hi Pragati, in order to move files ...READ MORE

answered Mar 7 in RPA by Abha
• 27,180 points
1,032 views