SortableDateTimePattern Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the custom format string for a sortable date and time value.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public string SortableDateTimePattern { get; }

Property Value

Type: System..::..String
The custom format string for a sortable date and time value.

The SortableDateTimePattern property defines the culture-specific format of date strings that are returned by calls to the DateTime..::..ToString and DateTimeOffset.ToString methods and by composite format strings that are supplied the "s" standard format string.

Show: