---
title: Type alias: flexibleDate
slug: chord-ui/type-alias-flexibledate
docTags: 
createdAt: 2023-11-06T15:03:31.906Z
---

[product-rss-feed](docId:6Uo_tqnsPfSBPjDRuymKw).flexibleDate

Ƭ **flexibleDate**: `string` | `Date`

A flexible field based around ISO-8601 timestamps



As a string, these are all valid:

```text
2020-01-01
2020-01-01T06:00:00-04:00
2020-01-01T06:00:00Z
```



This field can also be a Date object that will be converted to ISO-8601

```javascript
new Date()
```

### Defined in

[packages/product-rss-feed/src/simple/types.ts:23](https://github.com/chordcommerce/chord-ui/blob/2b105e1/packages/product-rss-feed/src/simple/types.ts#L23)
