My
Ideal
Host
We do more than just host websites
Customer login
HOME
WEB
HOSTING
RESELLER HOSTING
CUSTOMER SUPPORT
TUTORIALS
COMPANY
View source
for
How to change timezone
<seo title="change timezone" metakeywords="timezone,change timezone" metadescription="How to change timezone for your site" /> Due to the hosting server being in a different timezone, your PHP scripts may not show the correct time. This can be easily resolved by changing the PHP setting called '''''date.timezone''''. You can set a specific ''date.timezone'' value in PHP by adding the following line to your local php.ini file (you can create your own php.ini file and place it within 'public_html' folder. This can be done via cPanel File Manager): '''''date.timezone = "US/Central"''''' The above example will change the timezone for your PHP scripts to ''US/Central''. The full list of supported timezones is available [http://www.php.net/manual/en/timezones.php here] and you need to replace "US/Central" with your timezone. Once you change the timezone to the one needed, your site should be displaying the proper time.
Return to
How to change timezone
.
Navigation
Hosting Issues
Cloud Hosting
Billing Issues
FAQ
Articles
News
Interesting from the web
Search
Subscribe to our newsletters