# Show date with correct timezone in Kibana alert emails

**URL:** <https://discuss.elastic.co/t/show-date-with-correct-timezone-in-kibana-alert-emails/267159>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [March 13, 2021, 6:38pm UTC](https://discuss.elastic.co/t/show-date-with-correct-timezone-in-kibana-alert-emails/267159 "2021-03-13T18:38:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![willemdh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willemdh/32/16922_2.png) [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Post date:** [March 13, 2021, 6:38pm UTC](https://discuss.elastic.co/t/show-date-with-correct-timezone-in-kibana-alert-emails/267159/1 "2021-03-13T18:38:31Z")

</div>

Hello,

In Elastic SIEM alert emails, we can use `{{date}}` as date in email alerts. But the problem is that date is in GMT and my timezone is GMT+1. Is there a way to be able to show the correct date in Kibana alert emails?

**2021-03-13T18:30:46.483Z**

Grtz

Willem

---

<div class="post-metadata">

**Author:** ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)\
**Post date:** [March 15, 2021, 11:02pm UTC](https://discuss.elastic.co/t/show-date-with-correct-timezone-in-kibana-alert-emails/267159/2 "2021-03-15T23:02:00Z")

</div>

Technically the date is UTC format (the Z suffix). We don't currently have a way to localize that to specific time zones. We have an issue open to investigate doing that, via some mustache functions that we'd make available: [[alerts] provide mustache functions for ease-of-use in transforming mustache variables · Issue #84217 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/84217)

---

<div class="post-metadata">

**Author:** ![willemdh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willemdh/32/16922_2.png) [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Post date:** [March 16, 2021, 10:58am UTC](https://discuss.elastic.co/t/show-date-with-correct-timezone-in-kibana-alert-emails/267159/3 "2021-03-16T10:58:10Z")

</div>

Hello @Patrick_Mueller ,

+1'ed the GH issue. The exact date with the correct timezone is kind of important for less tech-savvy users.

Also Watch emails do allow dates to be transformed, so our users are used to getting alert emails with the correct date. It's hard to explain them we are moving to a new (and 'better'..?) email alert system, but it doesn't have the features we are used to such as transforms and html / css formatting.

Grtz

Willem

---

<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 13, 2021, 10:58am UTC](https://discuss.elastic.co/t/show-date-with-correct-timezone-in-kibana-alert-emails/267159/4 "2021-04-13T10:58:42Z")

</div>

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