# Date/Timestamp showing wrong in Discover

**URL:** <https://discuss.elastic.co/t/date-timestamp-showing-wrong-in-discover/258897>\
**Category:** Elasticsearch\
**Created:** [December 16, 2020, 5:13pm UTC](https://discuss.elastic.co/t/date-timestamp-showing-wrong-in-discover/258897 "2020-12-16T17:13:43Z")\
**Posts on this page:** 3\
**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:** [December 16, 2020, 5:13pm UTC](https://discuss.elastic.co/t/date-timestamp-showing-wrong-in-discover/258897/1 "2020-12-16T17:13:43Z")

</div>

New to Elasticsearch and trying to learn how things work. When I input the following in Dev Tools

```
PUT /ptest-1/_doc/1
{
"timestamp": "2020-12-16T10:53:01.358062",
"computer_name": "HP-8740W",
"UserName": "Eric",
"ActiveWindows": "Test Window"
}

```

I show this when I look at the index in Discover

```
ActiveWindows Test Window	
UserName Eric	
_id 1	
_index ptest-1
_score - 	
_type
_doc	
computer_name HP-8740W	
timestamp Dec 16, 2020 @ 04:53:01.358

```

Why does the date show `04:53:01.358` when it was input at `10:53:01.358062` do I need to format the date different?

---

<div class="post-metadata">

**Author:** ![vincenbr](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vincenbr](https://discuss.elastic.co/u/vincenbr)\
**Post date:** [December 16, 2020, 6:05pm UTC](https://discuss.elastic.co/t/date-timestamp-showing-wrong-in-discover/258897/2 "2020-12-16T18:05:26Z")

</div>

Hi Eric,  
AFAIK this is normal.  
Timestamp in elasticsearch (when you PUT your data) is treated as UTC by default.  
My guess is that you are somewhere between Winnipeg and Mexico city ? 😉  
-\> Kibana, on its sides, uses your browser's timezone to display date/times  
Tip: use a formatter on the date mapping, and send timestamp dates with an offset like:

```auto
"timestamp": "2020-12-16T10:53:01.358062-06",

```

you might have to adjust the mapping in order to properly index such values.

---

<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:** [January 13, 2021, 6:05pm UTC](https://discuss.elastic.co/t/date-timestamp-showing-wrong-in-discover/258897/3 "2021-01-13T18:05:34Z")

</div>

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