---
id: fast-foundation.dateformatter._constructor_
title: DateFormatter.(constructor)
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; [(constructor)](./fast-foundation.dateformatter._constructor_.md)

## DateFormatter.(constructor)

Constructs a new instance of the `DateFormatter` class

<b>Signature:</b>

```typescript
constructor(config?: {});
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  config | {} |  |
