# How to set configure timestamp in Map

**URL:** <https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [July 24, 2020, 3:53am UTC](https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436 "2020-07-24T03:53:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GraceYu](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@GraceYu](https://discuss.elastic.co/u/GraceYu)\
**Post date:** [July 24, 2020, 3:53am UTC](https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436/1 "2020-07-24T03:53:37Z")

</div>

Hi,

In Map, I have chosen absolute date range, 17 Jul 2020@00:00:00:00 till 23 Jul 2020@00:00:00:00. However, under the Inspect/Request I found the code "gte": "2020-07-16T16:00:00.000Z",  
"lte": "2020-07-22T16:00:00.000Z", as follows:

* * *

"query": {  
"bool": {  
"must": ,  
"filter": [  
{  
"match\_all": {}  
},  
{  
"range": {  
"timestamp": {  
"gte": "2020-07-16T16:00:00.000Z",  
"lte": "2020-07-22T16:00:00.000Z",  
"format": "strict\_date\_optional\_time"  
}  
}  
}  
],  
"should": ,  
"must\_not":   
}  
}  
}

* * *

I have tired set timezone under Management/Advanced Settings-\> Timezone for date formatting to my timezone.

Anyone, please suggest me on how to setup the timestamp in Map ?

![map_date_select](https://us1.discourse-cdn.com/elastic/original/3X/e/d/ed6a798d8fcf609de9ce17e2058ca747164abfb1.jpeg) ![map_request](https://us1.discourse-cdn.com/elastic/original/3X/b/0/b07607744b5d49231db229fbd8899923c986c6a3.jpeg)

---

<div class="post-metadata">

**Author:** ![myasonik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/myasonik/32/62369_2.png) [@myasonik](https://discuss.elastic.co/u/myasonik)\
**Post date:** [July 27, 2020, 4:51pm UTC](https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436/2 "2020-07-27T16:51:15Z")

</div>

Hi @GraceYu! What time zone are you in or are you setting in advanced settings?

I ask because the time in the query is 8 hours off from the time range in the UI so I imagine that the UI is doing the conversion and sending all the queries in UTC.

---

<div class="post-metadata">

**Author:** ![GraceYu](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@GraceYu](https://discuss.elastic.co/u/GraceYu)\
**Post date:** [July 28, 2020, 2:26am UTC](https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436/3 "2020-07-28T02:26:17Z")

</div>

Hi Michail,

I have set time zone to MYT Malaysia time zone. Is there a way to set to my local time zone ?

Thanks,  
Grace

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 28, 2020, 3:58am UTC](https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436/4 "2020-07-28T03:58:31Z")

</div>

Here's how it works;

1. Your browser uses the timezone of the OS
2. Kibana converts that into UTC, taking into account offsets
3. Kibana talks to Elasticsearch in UTC
4. All timestamps in Elasticsearch are in UTC

You shouldn't need to worry about changing the timestamp in Kibana at all.

---

<div class="post-metadata">

**Author:** ![GraceYu](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@GraceYu](https://discuss.elastic.co/u/GraceYu)\
**Post date:** [July 28, 2020, 4:40am UTC](https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436/5 "2020-07-28T04:40:52Z")

</div>

Hi Mark Walkom,

Thanks for the explanation. If this is the case, are you recommending that data to be stored in UTC ?

Thanks,  
Grace

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 28, 2020, 4:42am UTC](https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436/6 "2020-07-28T04:42:40Z")

</div>

The data will **always** be stored in Elasticsearch in UTC, you cannot change that.

---

<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:** [August 25, 2020, 4:42am UTC](https://discuss.elastic.co/t/how-to-set-configure-timestamp-in-map/242436/7 "2020-08-25T04:42:50Z")

</div>

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