Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Server & Database Timezones


Recommended Posts

Hi All,

For the server date, I know I can change the timezone by modifying configuration.php.  As for the MySQL database, can I just run this script to change its timezone and forget about it:

mysql_query("SET time_zone = '-5:00';");

If so, which file should I put this piece of code in?

Thank you very much in advance for your input.

Eddy

Link to comment
Share on other sites

I'd put it in the connect function...

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...