Community Add-Ons

Maintainers: bigbob2
Add file to this package
Top » Features

Time Zone Offset
for osCommerce Online Merchant v2.3

Download
by bigbob2 / 29 Oct 2012

If your server is in a different time zone or country than you are selling in to and you would like to set the correct time zone on your server (requires PHP version 5.2+), edit the following two files:

admin/includes/configure.php
includes/configure.php

Add in to them the following line:

define('CFG_TIME_ZONE', 'Pacific/Auckland');

This is to set the time zone for New Zealand, just find your own time zone from this web site http://php.net/manual/en/timezones.php and apply the correct one for your location.

Once you have uploaded those two files after editing and you're done!

The attached file only has these instructions in to, so there is no need to download.

Legend:  Download   Report

Expand All / Collapse All

Time Zone Offset bigbob2 29 Oct 2012  

If your server is in a different time zone or country than you are selling in to and you would like to set the correct time zone on your server (requires PHP version 5.2+), edit the following two files:

admin/includes/configure.php
includes/configure.php

Add in to them the following line:

define('CFG_TIME_ZONE', 'Pacific/Auckland');

This is to set the time zone for New Zealand, just find your own time zone from this web site http://php.net/manual/en/timezones.php and apply the correct one for your location.

Once you have uploaded those two files after editing and you're done!

The attached file only has these instructions in to, so there is no need to download.