Windows Phone Developers

Showing posts with label Date Conversion using C#. Show all posts
Showing posts with label Date Conversion using C#. Show all posts

Saturday, November 15, 2008

Converting Date to British Date Format using C# (.NET)

Get Today’s date in British Format

Formatting dates are easy in C#. The following snippet gets the current date in British format.

private static string ConvertDate2British()

{

return String.Format("{0:dd-MM-yy}", DateTime.Now);

}

How to convert dates to British format using .NET, Date Conversion using .NET, .NET String.Format Method, Get Current Date using .NET, .NET Today Method

See also:

Formatting Date Input - DateFOrmat (SQL)

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon