[SOLVED] Zen Cart incorrect time zone

Our Zen Cart installation has incorrect time zone. On the orders page, the orders are placed +5 hours from current date/time. This is very annoying problem as the server is showing correct time, and PHP is configured with correct time zone in /etc/php.ini file. Also, the correct time zone is set in the includes/application_top.php file.

To correct the time zone in Zen Cart, please follow the instruction shown on How to change time zone in Linux. Restart apache, and your server time should be corrected. According to the "Server Info" above, the database keeps track of it's own time. So, you'll have to restart the MySQL database.

# service httpd restart
# service mysqld restart

Comments

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.