Windows Phone Developers

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

1 comment:

  1. If we need to convert string to specific date format then regional settings of machine has the important role, see following