string input = "24/09/2012"; DateTime dateTime; if (DateTime.TryParse(input, out dateTime)) { DateTime dt = dateTime.AddDays(1); //This will add a day to your date }
DateTime Current = Convert.ToDateTime("10/12/2012"); DateTime newDate = Current.AddDays(1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)