OlFormatDateTime Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the format used to display Date/Time Outlook item properties.
public enum class OlFormatDateTime
public enum OlFormatDateTime
Public Enum OlFormatDateTime
- Inheritance
-
OlFormatDateTime
Fields
olFormatDateTimeBestFit | 17 | Displays the Date/Time value using the best fit for the data contained in the column. |
olFormatDateTimeLongDate | 6 | Displays a long date, without the day name, according to your locale's format. |
olFormatDateTimeLongDateReversed | 7 | Displays a long date, reversing the day number and month name, according to your locale's format. |
OlFormatDateTimeLongDayDate | 5 | Displays a long date, with the day name, according to your locale's format. |
olFormatDateTimeLongDayDateTime | 1 | Displays a long date and long time according to your locale's format. |
olFormatDateTimeLongTime | 15 | Displays a long time according to your locale's format. |
olFormatDateTimeShortDate | 8 | Displays a short date according to your locale's format. |
olFormatDateTimeShortDateNumOnly | 9 | Displays a short date, using numeric representations of the day, month, and year, according to your locale's format. |
olFormatDateTimeShortDateTime | 2 | Displays a short date and short time according to your locale's format. |
olFormatDateTimeShortDayDate | 13 | Displays a short date, with the day abbreviation, according to your locale's format. |
olFormatDateTimeShortDayDateTime | 3 | Displays a day abbreviation, short date, and short time according to your locale's format. |
olFormatDateTimeShortDayMonth | 10 | Displays the month and the day of a date, with the day abbreviation, according to your locale's format. |
olFormatDateTimeShortDayMonthDateTime | 4 | Displays a day abbreviation, day number, month number, and short time according to your locale's format. |
olFormatDateTimeShortMonthYear | 11 | Displays the month and year of a date, according to your locale's format. |
olFormatDateTimeShortMonthYearNumOnly | 12 | Displays the month and year of a date, using numeric representations of the month and year, according to your locale's format. |
olFormatDateTimeShortTime | 16 | Displays a short time according to your locale's format. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應