編輯

共用方式為


OlFormatDateTime Enum

Definition

Indicates the format used to display Date/Time Outlook item properties.

public enum class OlFormatDateTime
public enum OlFormatDateTime
Public Enum OlFormatDateTime
Inheritance
OlFormatDateTime

Fields

Name Value Description
olFormatDateTimeLongDayDateTime 1

Displays a long date and long time according to your locale's format.

olFormatDateTimeShortDateTime 2

Displays a short date and short time according to your locale's format.

olFormatDateTimeShortDayDateTime 3

Displays a day abbreviation, short date, and short time 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.

OlFormatDateTimeLongDayDate 5

Displays a long date, with the day name, according to your locale's format.

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.

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.

olFormatDateTimeShortDayMonth 10

Displays the month and the day of a date, with the day abbreviation, 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.

olFormatDateTimeShortDayDate 13

Displays a short date, with the day abbreviation, according to your locale's format.

olFormatDateTimeLongTime 15

Displays a long time according to your locale's format.

olFormatDateTimeShortTime 16

Displays a short time according to your locale's format.

olFormatDateTimeBestFit 17

Displays the Date/Time value using the best fit for the data contained in the column.

Applies to