Hi. I am trying to subtract the days between two strings that has the format of dd/MM/yyyy in both variables. Both variables types are String. I have tried assigning a new variable under the type of Int32 with DateDiff(DateInterval.Day, Date1, Date2) and it returned the error
An example
Date1 = 10/02/2021
Date2 = 22/12/2020
What is the best way to go forward in order to get the number of days subtracted between the two dates strings?