Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TIMEZONE


BadBuLL

Recommended Posts

Posted

I run my OSC store on US based server and my customers are all from Europe... The problem is that all times are wrong (time of order, etc.).

 

My siteowner told me to do the following:

$offset = 3150*(+1);

$date = gmdate("G:i", time() + $offset);

 

The offset is to change the timezones. +x Is the hour (for Belgium: 1) and that 3150 should be for the minutes. Normally 3600, but apparently servers (England?) and we here in Belgium have a small minute difference.

 

I just want to know in which file so this setting will affect whole store!

 

tnx

Archived

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

×
×
  • Create New...