Windows.Globalization.DateTimeFormatting
TOC
Collapse the table of content
Expand the table of content

Windows.Globalization.DateTimeFormatting namespace

Enables formatting of dates and times.

Members

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

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.

See also

Date and time formatting sample (Windows 10)

 

 

Show:
© 2016 Microsoft