Cartika Support Portal

            How to Change Timezone for PHP

            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 are coming in from your website be input as Eastern Standard Time.

            You will place this line of code in your site's .htaccess file:
            1. php_value date.timezone "America/New_York"
            A full list of compatible time zones can be located in the official PHP manual link: http://www.php.net/manual/en/timezones.php
            Updated: 19 Sep 2018 12:09 PM
            Helpful?  
            Help us to make this article better
            0 0