public static string FormatDateTime(string oneDateVal, int formatType) { return(TextUtility.FormatDateTime(DateTime.Parse(oneDateVal), formatType)); }
public MessageRender() { this.RegisterVariable("datetime", TextUtility.FormatDateTime(DateTime.Now.ToString(), 4)); }