string date = DateTime.ParseExact("06/01/16", "dd/MM/yy", System.Globalization.CultureInfo.InvariantCulture).ToString("dd/MM/yyyy"); //"06/01/2016"
DateTime original = Convert.ToDateTime("06/01/16"); DateTime converted = Convert.ToDateTime(original.ToString("dd/MM/yyyy"));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)