CSharp examples for System:DateTime Format
Get Readable Date
using System.Web; using System.Text.RegularExpressions; using System.Linq; using System.Globalization; using System.ComponentModel.DataAnnotations; using System.Collections.Generic; using System;/* w w w. ja v a2s .c o m*/ public class Main{ public static string GetReadableDate(DateTime date) { return string.Format("{0:dddd, d MMMM yyyy}", date); } }