# Setting Time zones

**URL:** <https://community.influxdata.com/t/setting-time-zones/4974>\
**Category:** Telegraf\
**Tags:** influxdb, telegraf\
**Created:** [April 30, 2018, 2:52pm UTC](https://community.influxdata.com/t/setting-time-zones/4974 "2018-04-30T14:52:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [April 30, 2018, 2:52pm UTC](https://community.influxdata.com/t/setting-time-zones/4974/1 "2018-04-30T14:52:59Z")

</div>

Hi,

Is it possible to set the timezone in the configs for either Telegraf or Influxdb? I’ve realised that my influx server is recording the correct time but the timestamps in the database are an hour behind. Is it possible to update either Telegraf or Influxdb to record these timestamps as Europe/London?

Thanks,

Phil

---

<div class="post-metadata">

**Author:** ![daniel](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/daniel/32/142_2.png) [@daniel](https://community.influxdata.com/u/daniel)\
**Post date:** [April 30, 2018, 9:13pm UTC](https://community.influxdata.com/t/setting-time-zones/4974/2 "2018-04-30T21:13:43Z")

</div>

There isn’t a way to do this, but since the timestamps are saved in UTC if the time is wrong then you should investigate if the system clock is setup properly.

---

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [May 1, 2018, 9:24am UTC](https://community.influxdata.com/t/setting-time-zones/4974/3 "2018-05-01T09:24:11Z")

</div>

Hi Daniel, thanks for the reply.

I didn’t think so after reading the docs - I’m not sure why i thought it was possible but oh well.

The server time is set to Europe/London so the time on there is correct and the logs for telegraf show the correct times it’s just the time stamps in the database itself. I’ll have to look into it before deploying.

Regards,

PhilB

---

<div class="post-metadata">

**Author:** ![noahcrowley](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/noahcrowley/32/818_2.png) [@noahcrowley](https://community.influxdata.com/u/noahcrowley)\
**Post date:** [May 1, 2018, 3:38pm UTC](https://community.influxdata.com/t/setting-time-zones/4974/4 "2018-05-01T15:38:45Z")

</div>

@philb Like Daniel said, InfluxDB stores all values in UTC; the conversion is done for you automatically based on the time zone of your client. London is currently on GMT+1 because of Daylight Savings Times, so it sounds like everything is working properly.

When viewing your data in Chronograf, the times are automatically converted from UTC to your local time.

---

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [May 9, 2018, 1:35pm UTC](https://community.influxdata.com/t/setting-time-zones/4974/5 "2018-05-09T13:35:23Z")

</div>

Hi @noahcrowley

Sorry i didn’t realise you had replied. The servers are set to Europe/London, I’m viewing the data before grafana or chronograf but the time is displayed correctly in those.  
The unix time stamps are an hour out of sync. so the server knows it is 14:32 at the moment, but the data points are an hour behind so 13:32.

It isn’t a major issue for me. I’d just noticed the times in the alert we’re an hour off. it still alerts when it should I just wondered if there was a setting to adjust the times for daylight saving.
