DateTimeFormatInfo Properties

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

The DateTimeFormatInfo type exposes the following members.

  Name Description
Public property AbbreviatedDayNames Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
Public property AbbreviatedMonthNames Gets or sets a one-dimensional string array that contains the culture-specific abbreviated names of the months.
Public property AMDesignator Gets or sets the string designator for hours that are "ante meridiem" (before noon).
Public property Static member CurrentInfo Gets a read-only DateTimeFormatInfo object that formats values based on the current culture.
Public property DateSeparator Gets or sets the string that separates the components of a date, that is, the year, month, and day.
Public property DayNames Gets or sets a one-dimensional string array that contains the culture-specific full names of the days of the week.
Public property FullDateTimePattern Gets or sets the custom format string for a long date and long time value.
Public property LongDatePattern Gets or sets the custom format string for a long date value.
Public property LongTimePattern Gets or sets the custom format string for a long time value.
Public property MonthDayPattern Gets or sets the custom format string for a month and day value.
Public property MonthNames Gets or sets a one-dimensional array of type String containing the culture-specific full names of the months.
Public property PMDesignator Gets or sets the string designator for hours that are "post meridiem" (after noon).
Public property RFC1123Pattern Gets the custom format string for a time value that is based on the Internet Engineering Task Force (IETF) Request for Comments (RFC) 1123 specification.
Public property ShortDatePattern Gets or sets the custom format string for a short date value.
Public property ShortTimePattern Gets or sets the custom format string for a short time value.
Public property SortableDateTimePattern Gets the custom format string for a sortable date and time value.
Public property TimeSeparator Gets or sets the string that separates the components of time, that is, the hour, minutes, and seconds.
Public property UniversalSortableDateTimePattern Gets the custom format string for a universal, sortable date and time string.
Public property YearMonthPattern Gets or sets the custom format string for a year and month value.
Top
Show: