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

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

## YearFormat type

A type representing the different year formats

<b>Signature:</b>

```typescript
export declare type YearFormat = "2-digit" | "numeric";
```