Cartika

Welcome, Guest Login

Support Center

How do i change timezone for PHP?

Last Updated: Jun 09, 2014 06:18PM EDT
You can change the timezone to cater to your specific time zone location.



For example, if the server is located in Central Standard Time, but you
live and do business in New York and require that orders coming in from
your website be input as Eastern standard Time.



You will place this line of code in your site's .htaccess file:



php_value date.timezone "America/New_York"



A full list of compatible time zones can be located in the official php manual link below:



http://www.php.net/manual/en/timezones.php

Contact Us

sales@cartika.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete