MonthFormat enumeration

Applies to Windows and Windows Phone

Specifies the intended format for the month in a DateTimeFormatter object.

Syntax


var value = Windows.Globalization.DateTimeFormatting.MonthFormat.none;

Attributes

[Version(0x06020000)]

Members

The MonthFormat enumeration has these members.

MemberValueDescription
None | none0

Do not display the month.

Default | default1

Display the month in the most natural way. It may be abbreviated, full, or numeric depending on the context, such as the language or calendar that is being used.

Abbreviated | abbreviated2

Display an abbreviated version of the month (for example, "Sep" for September).

Full | full3

Display the month in its entirety (for example, "September").

Numeric | numeric4

Display the month as a number (for example, "9" for September).

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization.DateTimeFormatting
Windows::Globalization::DateTimeFormatting [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft