Skip to main content
DateTimeFormatter.IncludeDay | includeDay property

Applies to Windows and Windows Phone

Gets the DayFormat in the template.

Syntax


var includeDay = dateTimeFormatter.includeDay;

public DayFormat IncludeDay { get; }

Public ReadOnly Property IncludeDay As DayFormat

public:
property DayFormat IncludeDay { 
   DayFormat get();
}

Property value

Type: DayFormat

Specifies whether the day is included. If it is, this property specifies the format for the day in the template.

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

See also

DateTimeFormatter