# Changing Timezone in Elasticsearch query response

**URL:** <https://discuss.elastic.co/t/changing-timezone-in-elasticsearch-query-response/198967>\
**Category:** Elasticsearch\
**Created:** [September 10, 2019, 7:38pm UTC](https://discuss.elastic.co/t/changing-timezone-in-elasticsearch-query-response/198967 "2019-09-10T19:38:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Merege](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_merege/32/53943_2.png) [@Daniel\_Merege](https://discuss.elastic.co/u/Daniel_Merege)\
**Post date:** [September 10, 2019, 7:38pm UTC](https://discuss.elastic.co/t/changing-timezone-in-elasticsearch-query-response/198967/1 "2019-09-10T19:38:11Z")

</div>

I'd like to know how I can make Elasticsearch change the timezone of timestamps in query's response JSON by using any parameter, instead of using script fields. Is it possible?

I could make it consider the timezone in the query by using time\_zone parameter in range block, but it returns all timestamps in UTC, instead of following the same parameter.

---

<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, 2019, 7:38pm UTC](https://discuss.elastic.co/t/changing-timezone-in-elasticsearch-query-response/198967/2 "2019-10-08T19:38:13Z")

</div>

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