Date conversion issue

See this for conversion of string to date -

After this you can manipulate the date by adding or removing number of days like date.AddDays or by comparing dates

See this