DateTimeExtensions..::..ToStringFormat Method
   To the string format.
   var shortDateResult = DateTime.Now.ToStringFormat(() => DateTimeFormat.ShortDate);
   var fullLongDateTimeResult = DateTime.Now.ToStringFormat(() => DateTimeFormat.FullLongDateTime);
   var rfc1123Result = DateTime.Now.ToStringFormat(() => DateTimeFormat.Rfc1123LowerCase);
   
                
    Namespace: 
   CoreAssembly: Core (in Core.dll)
Syntax
public static string ToStringFormat( DateTime source, Expression<Func<DateTimeFormat>> dateTimeFormat )
Parameters
- source
 - Type: DateTime
The source. 
- dateTimeFormat
 - Type: Expression<(Of <(<'Func<(Of <(<'DateTimeFormat>)>)>>)>)>
The date time format.