New Microsoft Office Excel Worksheet.xlsx (8.1 KB)
Thanks a lot,
Can compare the dates available in the excel with todays date and find the difference days . If days are greater than 18 or lesser than 18
how to check i am new to uipath
Thanks,
I want to check whether the dates are more than 18 days or not.
Thanks,
Mohd Zain
Simple method:-
TimeSpan t = date2.Subtract(date1);
other method:-
DateDiff(DateInterval.Day, “Date1”,“Date2”)
@mohammed_zain Follow these Steps :
ok i will try
What to write in message box to display result.
Thanks a lot,
Pass the variable in messagebox as string and check it
Sorry! Not getting the output
Thanks,
Mohd zain
BlankProcess11(20-2-2020).zip (10.2 KB)
Please review this code i am not getting the result.
Thanks,
Mohd Zain
ok i will check
Thanks,
Getting this error at run time.
Thanks
@mohammed_zain Ok, Can you use the Message Box before the If Condition and Check How the Date Value Appears and Send Screenshot ?
ok i will sent the screenshot
@mohammed_zain Just Replace the Condition in if with this :
Datetime.ParseExact(row(“Date”).ToString,“MM/dd/yyyy HH:mm:ss”,System.Globalization.CultureInfo.InvariantCulture)>Now.AddDays(18)