C# Date formatting


Date formatting provides by DateTime class.

Example

newyear = 12/1/2015
newyear = Tuesday, December 1, 2015
newyear = Tuesday, December 1, 2015 12:00:34 PM
newyear = Tuesday, December 1, 2015 12:00 PM
newyear = 01-December-2015
__