Adf.Base.Formatting.FormatHelper.Format C# (CSharp) Метод

Format() публичный статический Метод

Convert the specified datetime object into specified format.
public static Format ( System.DateTime value, string format ) : string
value System.DateTime The datetime value converted into given format.
format string The datetime value will parsed by this format.
Результат string
        public static string Format(DateTime? value, string format)
        {
            return value == null ? string.Empty : value.Value.ToString(string.IsNullOrEmpty(format) ? DefaultDateFormat : format, CultureInfo.CurrentUICulture);
        }