DateOptions properties

The DateOptions type exposes the following members.

  Name Description
Public property AMDesignator Gets the string designator for hours that are "ante meridiem" (before noon).
Public property Calendar Gets the current calendar.
Public property CalendarType Gets the type of the current calendar.
Public property DateSeparator Gets the character or text that separates the components of date; that is, the month, day, and year.
Public property DateTimeFormat Gets the current DateTimeFormat derived from the regional settings and the calendar.
Public property DayNames Gets the culture-specific full names of the days of the week.
Public property FirstDayOfWeek Gets a value that represents the first day of the week displayed in the calendar.
Public property HijriAdjustment Gets the number of days to add or subtract from the calendar to accommodate the variances in the start and the end of Ramadan and to accommodate the date difference between countries/regions.
Public property Lang Gets the language used for date options.
Public property LongDatePattern Gets the format pattern for a long date value, which is associated with the “D” standard format character.
Public property MonthDayPattern Gets the format pattern for a month and day value. The pattern is associated with the "m" and "M" format characters.
Public property PMDesignator Gets the string designator for hours that are "post meridiem" (after noon).
Public property SelectedDate Gets the currently selected date.
Public property ShortDatePattern Gets the format pattern for a short date value, which is associated with the "d" format character.
Public property TimePattern12Hour Gets the current 12-hour time format pattern.
Public property TimePattern24Hour Gets the current 24-hour time format pattern.
Public property TimeSeparator Gets the character or string that separates the components of time; that is, the hour, minutes, and seconds.
Public property Today Gets the current date.
Top
Show: