Two problems, first you compare for equality, if someone checks after 3 months, this will not work. Secondly, you are probably storing a Date or DateTime in your database, as a result of which your GetString call will fail.
Use the following instead (there is no reason to use strings in this case).
if (oDbDataReader.GetDateTime(2) <= DateTime.Now.AddDays(-90))
Also note that your original had an extra ; which potentially caused your password to expire.
source share