Friday, April 2, 2010

How to Formate Date String in C# : Windows Application

Write the code given below and convert datetime to Desirable Format textBox1.Text = String.Format("{0:dd/MM/yyyy}",DateTime.Now);For More Format string Click the link Given Belowhttp://www.csharp-examples.net/string-format-datetime/