DateTimeFormatter.IncludeYear | includeYear property

This topic has not yet been rated - Rate this topic

Gets the YearFormat in the template.

Syntax


var includeYear = dateTimeFormatter.includeYear;

Property value

Type: YearFormat

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Globalization.DateTimeFormatting
Windows::Globalization::DateTimeFormatting [C++]

Metadata

Windows.winmd

See also

DateTimeFormatter

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.