Windows.Globalization.DateTimeFormatting namespace

Applies to Windows and Windows Phone

Enables formatting of dates and times.

Members

The Windows.Globalization.DateTimeFormatting namespace has these types of members:

Classes

The Windows.Globalization.DateTimeFormatting namespace has these classes.

ClassDescription
DateTimeFormatter Formats dates and times.

 

Enumerations

The Windows.Globalization.DateTimeFormatting namespace has these enumerations.

EnumerationDescription
DayFormat Specifies the intended format for the day in a DateTimeFormatter object.
DayOfWeekFormat Specifies the intended format for the day of the week in a DateTimeFormatter object.
HourFormat Specifies the intended format for the hour in a DateTimeFormatter object.
MinuteFormat Specifies the intended format for the minute in a DateTimeFormatter object.
MonthFormat Specifies the intended format for the month in a DateTimeFormatter object.
SecondFormat Specifies the intended format for the second in a DateTimeFormatter object.
YearFormat Specifies the intended format for the year in a DateTimeFormatter object.

 

Remarks

If your app passes language tags from this namespace to any National Language Support functions, it must first convert the tags by calling ResolveLocaleName.

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