Adjusting Server Time in PHP

All of our servers are configured to Eastern Time by default.  It is possible, however, for you to adjust the date for PHP and this is done via a php_value directive in your .htaccess file.

The line you place in your .htaccess file looks like this:

php_value date.timezone "America/Indiana/Indianapolis"

A full list of available locations and time zones is available on at
  • 153 Users Found This Useful
Was this answer helpful?

Related Articles

MySQL Stored Procedures

All MDDHosting clients can use MySQL stored procedures and routines on their web hosting...

I have a reseller account at another provider... Will you transfer it for me?

We will always do our best to assist you as much as possible when it comes to migrating accounts...

What are private nameservers and how do I set them up?

Private nameservers are just custom DNS and HOST records that point to our DNS Cluster IPs. ...

Setting PHP Environment Variables

To set custom PHP Environment Variables such as register_globals, display_errors,...

Ordering Hosting - Domain Registration and Transfer Options

When ordering a hosting plan you will be given 3 options:   Register a new domain. Transfer...