# Configure timezone of dashboard

**URL:** <https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178>\
**Category:** feature\
**Tags:** dashboard\
**Created:** [July 30, 2015, 8:29am UTC](https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178 "2015-07-30T08:29:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Friggin](https://avatars.discourse-cdn.com/v4/letter/f/5e9695/32.png) [@Friggin](https://discuss.hangfire.io/u/Friggin)\
**Post date:** [July 30, 2015, 8:29am UTC](https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178/1 "2015-07-30T08:29:59Z")

</div>

It would be nice if one could set the display time to a different timezone like CET or specifing an offset to UTC for the timestamps displayed in the dashboard. Some of our customers are confused when looking at UTC.

---

<div class="post-metadata">

**Author:** ![odinserj](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/odinserj/32/648_2.png) [@odinserj](https://discuss.hangfire.io/u/odinserj)\
**Post date:** [August 4, 2015, 12:55pm UTC](https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178/2 "2015-08-04T12:55:53Z")

</div>

All the datetimes are transformed into a local time in the Dashboard UI using the moment.js library. Where do you see UTC time?

---

<div class="post-metadata">

**Author:** ![Friggin](https://avatars.discourse-cdn.com/v4/letter/f/5e9695/32.png) [@Friggin](https://discuss.hangfire.io/u/Friggin)\
**Post date:** [September 14, 2015, 11:09am UTC](https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178/3 "2015-09-14T11:09:29Z")

</div>

Sorry for the late reply.

 ![](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/1X/6c91d658a4241962d1f3b47491fa256318a95483.PNG)

I was mistaken, its GMT instead of UTC. But as you can see in the screenshot, it differs from the OS time, which is UTC+1.

---

<div class="post-metadata">

**Author:** ![frankgtr](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@frankgtr](https://discuss.hangfire.io/u/frankgtr)\
**Post date:** [September 15, 2015, 1:28am UTC](https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178/4 "2015-09-15T01:28:43Z")

</div>

Hi, I have encountered the same problem as you, and I have not figured it out. I published a post asking for solution, however, no one responded. Hope there could be a solution soon.

---

<div class="post-metadata">

**Author:** ![Flyff\_Sebulba](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/flyff_sebulba/32/1598_2.png) [@Flyff\_Sebulba](https://discuss.hangfire.io/u/Flyff_Sebulba)\
**Post date:** [October 21, 2015, 8:42am UTC](https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178/5 "2015-10-21T08:42:22Z")

</div>

Hi,  
the Tooltip is still UTC.

![](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/1X/0cef3cf7e0914d3a1d31a246bbf0ff8898d0f045.png)

And actually the CET Time ist 10:33:25

---

<div class="post-metadata">

**Author:** ![percyboy](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@percyboy](https://discuss.hangfire.io/u/percyboy)\
**Post date:** [September 14, 2016, 5:47am UTC](https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178/6 "2016-09-14T05:47:06Z")

</div>

I noticed that only the timestamp displayed on the page footer is in GMT,  
and other timestamps (eg. in the tooltips and the graphs) are displayed according to my locale.

I checked the source code:  
/src/Hangfire.Core/Dashboard/Pages/LayoutPage.cshtml#L65  
`<li>@String.Format(Strings.LayoutPage_Footer_Time, DateTime.UtcNow)</li>`

/src/Hangfire.Core/Dashboard/Content/resx/Strings.resx#L292  
`<data name="LayoutPage_Footer_Time" xml:space="preserve">`  
`<value>Time: {0} GMT</value>`  
`</data>`

So, I think this is the reason.

Why not use the local time (DateTime.Now)  
and the local time format (eg. DateTime.Now.ToLongTimeString() ) ?

---

<div class="post-metadata">

**Author:** ![uchitha](https://avatars.discourse-cdn.com/v4/letter/u/a9adbd/32.png) [@uchitha](https://discuss.hangfire.io/u/uchitha)\
**Post date:** [September 29, 2016, 12:43am UTC](https://discuss.hangfire.io/t/configure-timezone-of-dashboard/1178/7 "2016-09-29T00:43:41Z")

</div>

Hangfire 1.6.4

Further to above observations, I also see that the history graph x-axis tick points are also in GMT.

 ![](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/1X/5a50195bb067acbfd6b577f4fb21a55d1027329f.png)

Would be great if there’s a workaround.

Cheers,  
U
