Hello everyone ,
i got this error and i didn’t know its meaning and why it shows up can anyone help ?
its comes because of this expression
“DateDiff(DateInterval.Day,DateTime.ParseExact(DateFinPRT.ToString,“dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture),DateTime.ParseExact(date.Now.ToString(“dd/MM/yyyy”),“dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture)).ToString”.
and the error is
Arguments trop nombreux pour ‘Public ReadOnly Default Property Chars(index As Integer) As Char’.
i already used the same expression before and it works perfectly
@Mery_EL
please post a screenshot of your variable definition (variable panels).
Confirm that you have imported System.Globalization
check validation error mesage and post it if it is different
Hello , thanks
DateFinPRT is extracted from a webpage table , that’s why it is string , and i need to compare the extracted date with today’s date
i tried the datediff function .