# @timestamp works wrong (gives 2 hours early )

**URL:** <https://discuss.elastic.co/t/timestamp-works-wrong-gives-2-hours-early/188886>\
**Category:** Elasticsearch\
**Created:** [July 4, 2019, 10:20am UTC](https://discuss.elastic.co/t/timestamp-works-wrong-gives-2-hours-early/188886 "2019-07-04T10:20:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NAHA](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@NAHA](https://discuss.elastic.co/u/NAHA)\
**Post date:** [July 4, 2019, 10:20am UTC](https://discuss.elastic.co/t/timestamp-works-wrong-gives-2-hours-early/188886/1 "2019-07-04T10:20:37Z")

</div>

Hi ,  
I am sending Log from NLog to ElasticSearch.

So I saw that in output **@timesatmp** seems wrong, it gives result 2 hours early.

In how can change in configuration **@timestamp** should be correct?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9f7bc4515e7676e0a07e86f41663ad963af29af1.png)

NLog part:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/9/99a2bc423b45507d54f4f534fe1c24f4403b78db.png)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 4, 2019, 12:59pm UTC](https://discuss.elastic.co/t/timestamp-works-wrong-gives-2-hours-early/188886/2 "2019-07-04T12:59:59Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

It looks "correct" to me. Assuming that you are not currently in the UTC timezone, the `@timestamp` date is `UTC` based (see the `Z` at the end).

---

<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 1, 2019, 1:00pm UTC](https://discuss.elastic.co/t/timestamp-works-wrong-gives-2-hours-early/188886/3 "2019-08-01T13:00:02Z")

</div>

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