Export (0) Print
Expand All

DateTimeFormatInfo Properties

The properties of the DateTimeFormatInfo class are listed here. For a complete list of DateTimeFormatInfo class members, see the DateTimeFormatInfo Members topic.

Public Properties

public propertyAbbreviatedDayNames

Supported by the .NET Compact Framework.

Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
public propertyAbbreviatedMonthNames

Supported by the .NET Compact Framework.

Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the months.
public propertyAMDesignator

Supported by the .NET Compact Framework.

Gets or sets the string designator for hours that are "ante meridiem" (before noon).
public propertyCalendar

Supported by the .NET Compact Framework.

Gets or sets the calendar to use for the current culture.
public propertyCalendarWeekRule

Supported by the .NET Compact Framework.

Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.
public propertystatic (Shared in Visual Basic)CurrentInfo

Supported by the .NET Compact Framework.

Gets a read-only DateTimeFormatInfo that formats values based on the current culture.
public propertyDateSeparator

Supported by the .NET Compact Framework.

Gets or sets the string that separates the components of a date; that is, the year, month, and day.
public propertyDayNames

Supported by the .NET Compact Framework.

Gets or sets a one-dimensional array of type String containing the culture-specific full names of the days of the week.
public propertyFirstDayOfWeek

Supported by the .NET Compact Framework.

Gets or sets the first day of the week.
public propertyFullDateTimePattern

Supported by the .NET Compact Framework.

Gets or sets the format pattern for a long date and long time value, which is associated with the 'F' format character.
public propertystatic (Shared in Visual Basic)InvariantInfo

Supported by the .NET Compact Framework.

Gets the default read-only DateTimeFormatInfo that is culture-independent (invariant).
public propertyIsReadOnly

Supported by the .NET Compact Framework.

Gets a value indicating whether the DateTimeFormatInfo is read-only.
public propertyLongDatePattern

Supported by the .NET Compact Framework.

Gets or sets the format pattern for a long date value, which is associated with the 'D' format character.
public propertyLongTimePattern

Supported by the .NET Compact Framework.

Gets or sets the format pattern for a long time value, which is associated with the 'T' format character.
public propertyMonthDayPattern

Supported by the .NET Compact Framework.

Gets or sets the format pattern for a month and day value, which is associated with the 'm' and 'M' format characters.
public propertyMonthNames

Supported by the .NET Compact Framework.

Gets or sets a one-dimensional array of type String containing the culture-specific full names of the months.
public propertyPMDesignator

Supported by the .NET Compact Framework.

Gets or sets the string designator for hours that are "post meridiem" (after noon).
public propertyRFC1123Pattern

Supported by the .NET Compact Framework.

Gets the format pattern for a time value, which is based on the Internet Engineering Task Force (IETF) Request for Comments (RFC) 1123 specification and is associated with the 'r' and 'R' format characters.
public propertyShortDatePattern

Supported by the .NET Compact Framework.

Gets or sets the format pattern for a short date value, which is associated with the 'd' format character.
public propertyShortTimePattern

Supported by the .NET Compact Framework.

Gets or sets the format pattern for a short time value, which is associated with the 't' format character.
public propertySortableDateTimePattern

Supported by the .NET Compact Framework.

Gets the format pattern for a sortable date and time value, which is associated with the 's' format character.
public propertyTimeSeparator

Supported by the .NET Compact Framework.

Gets or sets the string that separates the components of time; that is, the hour, minutes, and seconds.
public propertyUniversalSortableDateTimePattern

Supported by the .NET Compact Framework.

Gets the format pattern for a universal sortable date and time value, which is associated with the 'u' and 'U' format characters.
public propertyYearMonthPattern

Supported by the .NET Compact Framework.

Gets or sets the format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters.

See Also

DateTimeFormatInfo Class | System.Globalization Namespace

Show:
© 2014 Microsoft