Readable DateTime - CSharp System

CSharp examples for System:DateTime Format

Description

Readable DateTime

Demo Code


using System;//from  w ww  . j  a va 2 s .  c o m

public class Main{
        public static string Readable(this DateTime dateTime)
        {
            return dateTime.ToString("MMM d, yyyy HH:mm").ToCamelCase();
        }
}

Related Tutorials