Пример #1
0
 public static string FormatDateTime(string oneDateVal, int formatType)
 {
     return(TextUtility.FormatDateTime(DateTime.Parse(oneDateVal), formatType));
 }
Пример #2
0
 public MessageRender()
 {
     this.RegisterVariable("datetime", TextUtility.FormatDateTime(DateTime.Now.ToString(), 4));
 }