Monday 2 July 2012

Formatting Dates/Times in ASP.NET

Standard Date/Time Format Strings


Click On Image to Enlarge

Custom Date/Time Format Strings

Click On Image to Enlarge

My Date/Time Formatting Methods


Click On Image to Enlarge






Previous Date/Time Formatting Methods :
                 
DateTime.Now.AddDays(-1).ToString(
Output:
Sunday, July 08, 2012

"D");

No comments:

Post a Comment