string str = "05-27-2013";//YourTextBox.Text here string requierDate = DateTime.Parse(str/*YourTextBox.Text here*/).ToString("dd-MM-yyyy"); //output will be "27-05-2013"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)