﻿---
title: date_from
description: The value for this setting should be a date which can be easily parsed using the strftime string in date_from_format: The identifiers that Curator currently...
url: https://www.elastic.co/elastic/docs-builder/docs/2407/reference/elasticsearch/curator/fe_date_from
---

# date_from
<note>
  This setting is only used with the [period](https://www.elastic.co/elastic/docs-builder/docs/2407/reference/elasticsearch/curator/filtertype_period) filtertype when [period_type](https://www.elastic.co/elastic/docs-builder/docs/2407/reference/elasticsearch/curator/fe_period_type) is `absolute`.
</note>

```yaml
 - filtertype: period
   period_type: absolute
   source: name
   timestring: '%Y.%m.%d'
   unit: months
   date_from: 2017.01
   date_from_format: '%Y.%m'
   date_to: 2017.01
   date_to_format: '%Y.%m'
```

The value for this setting should be a date which can be easily parsed using the strftime string in [`date_from_format`](https://www.elastic.co/elastic/docs-builder/docs/2407/reference/elasticsearch/curator/fe_date_from_format):
The identifiers that Curator currently recognizes include:

| Unit | Value                    | Note                                                 |
|------|--------------------------|------------------------------------------------------|
| `%Y` | 4 digit year             |                                                      |
| `%G` | 4 digit year             | use instead of `%Y` when doing ISO Week calculations |
| `%y` | 2 digit year             |                                                      |
| `%m` | 2 digit month            |                                                      |
| `%W` | 2 digit week of the year |                                                      |
| `%V` | 2 digit week of the year | use instead of `%W` when doing ISO Week calculations |
| `%d` | 2 digit day of the month |                                                      |
| `%H` | 2 digit hour             | 24 hour notation                                     |
| `%M` | 2 digit minute           |                                                      |
| `%S` | 2 digit second           |                                                      |
| `%j` | 3 digit day of the year  |                                                      |