How do I get a datetime format in C# that will look like this:
2011-09-01 00:00:00:000
How do I get a datetime format in C# that will look like this:
2011-09-01 00:00:00:000
something like this.
DateTime thisDate1 = new DateTime(2011, 6, 10);
Console.WriteLine("Today is " + thisDate1.ToString("yyyy mm dd") + ".");
http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx