DateTimeFormatInfo Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The DateTimeFormatInfo type exposes the following members.
| Name | Description | |
|---|---|---|
|
AbbreviatedDayNames | Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week. |
|
AbbreviatedMonthGenitiveNames | Gets or sets a string array of abbreviated month names associated with the current DateTimeFormatInfo object. |
|
AbbreviatedMonthNames | Gets or sets a one-dimensional string array that contains the culture-specific abbreviated names of the months. |
|
AMDesignator | Gets or sets the string designator for hours that are "ante meridiem" (before noon). |
|
Calendar | Gets or sets the calendar to use for the current culture. |
|
CalendarWeekRule | Gets or sets a value that specifies which rule is used to determine the first calendar week of the year. |
|
CurrentInfo | Gets a read-only DateTimeFormatInfo object that represents the date and time formatting information for the current culture. |
|
DayNames | Gets or sets a one-dimensional array of type String containing the culture-specific full names of the days of the week. |
|
FirstDayOfWeek | Gets or sets the first day of the week. |
|
FullDateTimePattern | Gets or sets the custom format string for a long date and long time value, which is associated with the "F" standard date and time format string. |
|
InvariantInfo | Gets the default read-only DateTimeFormatInfo that is culture-independent (invariant). |
|
IsReadOnly | Gets a value indicating whether the DateTimeFormatInfo object is read-only. |
|
LongDatePattern | Gets or sets the custom format string for a long date value, which is associated with the "D" standard date and time format string. |
|
LongTimePattern | Gets or sets the custom format string for a long time value, which is associated with the "T" standard format string. |
|
MonthDayPattern | Gets or sets the custom format string for a month and day value, which is associated with the "m" and "M" standard date and time format strings. |
|
MonthGenitiveNames | Gets or sets a string array of month names associated with the current DateTimeFormatInfo object. |
|
MonthNames | Gets or sets a one-dimensional array of type String containing the culture-specific full names of the months. |
|
PMDesignator | Gets or sets the string designator for hours that are "post meridiem" (after noon). |
|
RFC1123Pattern | Gets the custom date and time format string that is based on the Internet Engineering Task Force (IETF) Request for Comments (RFC) 1123 specification and is associated with the "r" and "R" standard format strings. |
|
ShortDatePattern | Gets or sets the custom date and time format string for a short date value, which is associated with the "d" standard format string. |
|
ShortestDayNames | Gets or sets a string array of the shortest unique abbreviated day names associated with the current DateTimeFormatInfo object. |
|
ShortTimePattern | Gets or sets the custom date and time format string for a short time value, which is associated with the "t" standard format string. |
|
SortableDateTimePattern | Gets the custom date and time format string for a sortable date and time value, which is associated with the "s" standard format string. |
|
UniversalSortableDateTimePattern | Gets the custom date and time format string for a universal sortable date and time value, which is associated with the "u" standard format string. |
|
YearMonthPattern | Gets or sets the custom date and time format string for a year and month value, which is associated with the "y" and "Y" standard format strings. |
Show: