3

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?

1 Answer 1

3

This is from the Craft Documentation about 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 filter, which allows you to specify a different timezone for the output (list of supported timezones). If you want to bind a timezone to a specific site locale (multi-lingual sites), there's a dedicated Q/A on how to do that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.