# Elasticsearch 7.0 - changed date format

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-0-changed-date-format/188059>\
**Category:** Elasticsearch\
**Created:** [June 28, 2019, 1:37pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-changed-date-format/188059 "2019-06-28T13:37:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kluvi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kluvi/32/36739_2.png) [@kluvi](https://discuss.elastic.co/u/kluvi)\
**Post date:** [June 28, 2019, 1:38pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-changed-date-format/188059/1 "2019-06-28T13:38:00Z")

</div>

Hi.  
I think, that I dont get the difference between

```auto
  Symbol Meaning Presentation Examples
  ------ ------- ------------ -------
   u year year 2004; 04
   y year-of-era year 2004; 04

```

We used this mapping:

```auto
      "date": {
        "type": "date",
        "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
      }

```

So if I uderstand it correctly, we dont need to change this date format, because it works same on ES 6.8 and 7.x am I right?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 26, 2019, 1:38pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-changed-date-format/188059/2 "2019-07-26T13:38:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
