HI all
I have a date string, and I need to check if it is equal to 10 days ago, or 15 days ago, and if so, to do certain tasks.
I am converting it into a dateTime:
DateTime.ParseExact(dateStr, “dd/MM/yyyy”, CultureInfo.InvariantCulture)
(I found this information on these forums)
I am finding no matter what I do, my process is going out the “else” below. Any thoughts on what I am doing wrong?