> For the complete documentation index, see [llms.txt](https://developers.incidents.cloud.solarwinds.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.incidents.cloud.solarwinds.com/typescript/docs/types/rfcdate.md).

# RFCDate

`types.RFCDate` is a wrapper around Date that allows for JSON marshaling a date string formatted as "2006-01-02".

## Usage

```typescript
const d1 = new RFCDate(Date.now());

const d2 = new RFCDate("2019-01-01");
```
