Tuesday, July 1, 2008

Formating the Date in C# .NET

The Date mm/dd/yyyy Can be changed in to dd/mm/yyyy using the below format:

String.Format("{0:dd/MM/yyyy}",Convert.ToDateTime("12/20/2008"));

No comments: