// Start by making this a DateTime, not a string DateTime start = DateTime.Parse("03/03/2011"); // Expire 60 days from start DateTime expire = start.AddDays(60); if (DateTime.Now > expire) { // You're past the expiration date }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)