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 |
|
|
Metadata |
|
See also
Build date: 12/4/2012