---
id: fast-foundation.dateformatter.yearformat
title: DateFormatter.yearFormat property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [DateFormatter](./fast-foundation.dateformatter.md) &gt; [yearFormat](./fast-foundation.dateformatter.yearformat.md)

## DateFormatter.yearFormat property

Formatting for the year

<b>Signature:</b>

```typescript
yearFormat: YearFormat;
```