Windows.​Globalization.​Date​Time​Formatting Windows.​Globalization.​Date​Time​Formatting Windows.​Globalization.​Date​Time​Formatting Namespace

Enables formatting of dates and times.

Classes

DateTimeFormatter DateTimeFormatter DateTimeFormatter

Formats dates and times.

Enums

DayFormat DayFormat DayFormat

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

DayOfWeekFormat DayOfWeekFormat DayOfWeekFormat

Specifies the intended format for the day of the week in a DateTimeFormatter object.

HourFormat HourFormat HourFormat

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

MinuteFormat MinuteFormat MinuteFormat

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

MonthFormat MonthFormat MonthFormat

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

SecondFormat SecondFormat SecondFormat

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

YearFormat YearFormat 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.