Find articles about information features, troubleshooting guides, and other technical information related to the hosting service Hostinger.
Your server's Global time configuration cannot be changed, but you can use the PHP function date_default_timezone_set to set the timezone for your website. Here's an example code that sets and checks the currently set timezone:
<?php date_default_timezone_set("Asia/Bangkok"); echo date_default_timezone_get(); ?>
A list of available PHP timezones can be found here: http://www.php.net/manual/en/timezones.php
In our new knowledge base you will find all the information you need. Use the search field, or browse through categories.
Everything about your website, builder, templates, server, hosting, and other issues.
All information about domains, extensions and how to find the perfect domain name is right here.
The world’s most popular control panel is explained here.
Having questions about our email services? Find all answers here.
Payment methods, payment cycles, secure payments. Don’t worry and get to know more here.
Are you planning to begin your website but aren’t sure where to start? Get started here.