DateTime.ToString
yourDate.ToString("dd/MM/yyyy HH:mm:ss")
DateTime dt = System.DateTime.Now; string strDate = dt.ToString("Date_Format_of_your_choice");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)