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, 2019 in RPA by Apeksha
• 1,110 points
6,396 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, 2019 by Abha
• 28,140 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, 2019 in RPA by Shivi Singhal
14,795 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
4,780 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
3,452 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, 2019 in RPA by Abha
• 28,140 points
2,788 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 12, 2019 in RPA by Abha
• 28,140 points
21,208 views
0 votes
1 answer

What are the types of robots you can create in an Orchestrator in UiPath?

Hi Urvashi, there are 2 types of ...READ MORE

answered Mar 12, 2019 in RPA by Abha
• 28,140 points
10,798 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, 2019 in RPA by Abha
• 28,140 points
6,744 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 8, 2019 in RPA by Abha
• 28,140 points
5,786 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP