CSharp examples for System:String Convert
To String Long
using System.Web; using System.Linq; using System.Collections.Generic; using System;/* w ww . j av a 2s . co m*/ public class Main{ public static string ToStringLong(this DateTimeOffset dt) { return dt.ToString("dddd, dd MMMM yyyy HH:mm"); // Saturday, 21 July 2007 14:58 } }