Jump to content
Moxamint

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

Share this post


Link to post
Share on other sites

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


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×