The following code does not work. It should "do something" but it does not. I'm trying to subtract 1 month from current month and compare it to a string variable pulled from database. The string variable strCCMonth is '8', so it should do something since the current month is '9'.
Dim monthadd As Date = DateAdd("m", -1, Date.Now)
If strCCMonth = monthadd.ToString() Then
Do Something here