# Timestamp convert

**URL:** <https://discuss.elastic.co/t/timestamp-convert/225089>\
**Category:** Elasticsearch\
**Created:** [March 26, 2020, 12:58am UTC](https://discuss.elastic.co/t/timestamp-convert/225089 "2020-03-26T00:58:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![edkash](https://avatars.discourse-cdn.com/v4/letter/e/e19adc/32.png) [@edkash](https://discuss.elastic.co/u/edkash)\
**Post date:** [March 26, 2020, 12:58am UTC](https://discuss.elastic.co/t/timestamp-convert/225089/1 "2020-03-26T00:58:19Z")

</div>

Hello dear,  
I want to understand, why kibana or elasticsearch is converting time. I attached an image with json inserted on elastic with a date (datetime correct), and datetime showed by kibaba -3). My time is GMT -3, and I applied this on the server, and then I dont need that kibana/elasticsearch convert this field. I try change on kibana advanced settings.

Can you help?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/0/b051511f3c65be847a103bd9e542cab5d17a2aa0.png)

---

<div class="post-metadata">

**Author:** ![wangqinghuan](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wangqinghuan](https://discuss.elastic.co/u/wangqinghuan)\
**Post date:** [March 26, 2020, 3:28am UTC](https://discuss.elastic.co/t/timestamp-convert/225089/2 "2020-03-26T03:28:43Z")

</div>

Kibana will convert the UTC timestamps in ES to browser's local time. you can adjust showed timezone of Kibana in advanced setting: [https://www.elastic.co/guide/en/kibana/current/advanced-options.html](https://www.elastic.co/guide/en/kibana/current/advanced-options.html)

---

<div class="post-metadata">

**Author:** ![edkash](https://avatars.discourse-cdn.com/v4/letter/e/e19adc/32.png) [@edkash](https://discuss.elastic.co/u/edkash)\
**Post date:** [March 26, 2020, 8:23pm UTC](https://discuss.elastic.co/t/timestamp-convert/225089/3 "2020-03-26T20:23:29Z")

</div>

Hello Dear and @wangqinghuan

I apply gmt -3 (america/sao\_paulo) on kibana, and search engine shows correct time, but all my date fields inserted in gmt -3, are be converting to gmt -3 again, and kibana shows date with gmt -6. If apply UTC date time on kibaba, the search engine shows time always in UTC but my json (inserted in gmt -3) is not converted. In both cases, we have this issue. I try browser time too but have the same issue.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b619911d0f9c1fd406847c1350222c1fb03ff3e0.png)

---

<div class="post-metadata">

**Author:** ![edkash](https://avatars.discourse-cdn.com/v4/letter/e/e19adc/32.png) [@edkash](https://discuss.elastic.co/u/edkash)\
**Post date:** [March 27, 2020, 8:57pm UTC](https://discuss.elastic.co/t/timestamp-convert/225089/4 "2020-03-27T20:57:22Z")

</div>

When i change kibana time do UTC, my date field is not converted, and logs show date right. But my "now" time on search engine is wrong, and as use dashboards, I cant let that.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d89e6ad09d5e7c397373b5d7f44eb6f2fd6efc3.png)

---

<div class="post-metadata">

**Author:** ![edkash](https://avatars.discourse-cdn.com/v4/letter/e/e19adc/32.png) [@edkash](https://discuss.elastic.co/u/edkash)\
**Post date:** [March 31, 2020, 2:22pm UTC](https://discuss.elastic.co/t/timestamp-convert/225089/5 "2020-03-31T14:22:05Z")

</div>

Hello dear,  
have anyone idea about this?

---

<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:** [April 28, 2020, 2:22pm UTC](https://discuss.elastic.co/t/timestamp-convert/225089/6 "2020-04-28T14:22:17Z")

</div>

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