<p>This is from the Craft Documentation about <a href="http://buildwithcraft.com/docs/date-time-fields" rel="nofollow noreferrer">Date/Time Fields</a>:</p>

<blockquote>
  <p>Note: Dates and times [...] are displayed in the site’s timezone, however they get stored in UTC like all other dates in Craft.</p>
</blockquote>

<p>Additionally you can also use the <a href="http://twig.sensiolabs.org/doc/filters/date.html" rel="nofollow noreferrer"><code>date</code></a> filter, which allows you to specify a different timezone for the output (<a href="https://php.net/manual/en/timezones.php" rel="nofollow noreferrer">list of supported timezones</a>). If you want to bind a timezone to a specific site locale (multi-lingual sites), there's a <a href="https://craftcms.stackexchange.com/questions/268/">dedicated Q/A</a> on how to do that.</p>

CC BY-SA 3.0
2014-07-11T21:19:54.810Z
2014-07-11T21:19:54.810Z
2017-04-13T12:50:59.930Z
carlcs
<p>If I set my timezone in server and in Craft general settings, do I still need to change it in php.ini? And how does Craft handle timezone in those three places?</p>

<timezone>
Do I need to change the date.timezone in php.ini?
# Do I need to change the date.timezone in php.ini?

(Asked by: username_0 on 2014-07-11)

If I set my timezone in server and in Craft general settings, do I still need to change it in php.ini? And how does Craft handle timezone in those three places?

**Tags:** timezone


---

## 1 answers

### Answer by username_1 on 2014-07-11. Score: 3 | Accepted answer

This is from the Craft Documentation about [Date/Time Fields](http://buildwithcraft.com/docs/date-time-fields):

> Note: Dates and times [...] are displayed in the site’s timezone, however they get stored in UTC like all other dates in Craft.

Additionally you can also use the [`date`](http://twig.sensiolabs.org/doc/filters/date.html) filter, which allows you to specify a different timezone for the output ([list of supported timezones](https://php.net/manual/en/timezones.php)). If you want to bind a timezone to a specific site locale (multi-lingual sites), there's a [dedicated Q/A](https://craftcms.stackexchange.com/questions/268/) on how to do that.


---

