# Time entry in Index different from application

**URL:** https://discuss.elastic.co/t/time-entry-in-index-different-from-application/248161
**Category:** Elasticsearch
**Created:** [September 10, 2020, 11:49am UTC](https://discuss.elastic.co/t/time-entry-in-index-different-from-application/248161 "2020-09-10T11:49:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fastxl](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@fastxl](https://discuss.elastic.co/u/fastxl)
#### Post date: [September 10, 2020, 11:49am UTC](https://discuss.elastic.co/t/time-entry-in-index-different-from-application/248161/1 "2020-09-10T11:49:55Z")

</div>

I am trying to learn Elasticsearch and I have made a Python script that will send data to an index. One of the things I am sending is the date/time. The format of the date/time in my output is

> 'date': '2020-09-10T06:45:17.010945'

but my index in Elasticsearch shows this

> date Sep 10, 2020 @ 01:45:17.010

Is there a way to format time to be the same? Mappings?

---

<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: [October 8, 2020, 11:49am UTC](https://discuss.elastic.co/t/time-entry-in-index-different-from-application/248161/2 "2020-10-08T11:49:55Z")

</div>

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