I have two dates:
DateTime date_of_submission = Convert.ToDateTime(DateTime.Now.ToString(\"MM/dd/yyyy\")); DateTime _effective_date = Convert.ToDateTime(Text
var days = (_effective_date - date_of_submission).Days;