# Convert timestamp to date in existing index

**URL:** <https://discuss.elastic.co/t/convert-timestamp-to-date-in-existing-index/146396>\
**Category:** Elasticsearch\
**Created:** [August 28, 2018, 4:00pm UTC](https://discuss.elastic.co/t/convert-timestamp-to-date-in-existing-index/146396 "2018-08-28T16:00:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amina-rh](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@amina-rh](https://discuss.elastic.co/u/amina-rh)\
**Post date:** [August 28, 2018, 4:00pm UTC](https://discuss.elastic.co/t/convert-timestamp-to-date-in-existing-index/146396/1 "2018-08-28T16:00:55Z")

</div>

Hi,  
I have a problem with converting the timestamp field in elasticsearch to date in order to apear in kibana like a date, i already created the index, now i need to do the mapping on pay\_time wich is a date field , (i think that i should use a template but i dont know how to create it ), can anyone help me pls

---

<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:** [September 25, 2018, 4:01pm UTC](https://discuss.elastic.co/t/convert-timestamp-to-date-in-existing-index/146396/2 "2018-09-25T16:01:01Z")

</div>

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