I need to compare 2 dates and find the difference in the number of days between the 2 dates. I have tried using DateDiff from the various Forum solutions I found, but I cannot get it to work. Can anyone help me to figure out what is the issue?
what is the variable type date 1 and date 2
I think it is string if string please Change the variable type and the type is System.datetime
Because dateDiff needs date variable