Windows.Globalization.DateTimeFormatting Namespace

Enables formatting of dates and times.

Classes

DateTimeFormatter

Formats dates and times.

Enums

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.

For a list of standard country/region codes used by Microsoft, see the Official Country/Region List.

See also