You don't actually have to use the Subtract method in more recent version because DateTime and TimeSpan support straight arithmetic, e.g.
vb.net Code:
  1. If (currentDate - maxDate).Days > 180 Then