Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change the time?


Guest

Recommended Posts

Hello tehre everyone!

 

I use an American server though I`m in Spain...

 

Can anyone tell me how to set the shop for the spanish hour?

(I can`t change server`s one :( )

 

 

Thanks in advance!

Link to comment
Share on other sites

Hello msaunders,

 

I use 2.1 (I think!) I`ve searched but I didn`t find anything, and I need to encrease 6 hours in the hour the shop works with.

 

Thanks in advance!

Jorge

Link to comment
Share on other sites

Well , if your only starting to setup your shop, i recommend using 2.2. Im not sure if that will fix your problem, but I think there is something in the configuration file that sets the time zone ?

 

Maybe someone else can comment on this ?

Link to comment
Share on other sites

I`ve fount this in the general.php:

 

return date(DATE_FORMAT, mktime($hour, $minute, $second, $month, $day, $year));

 

Can I use:

return date(DATE_FORMAT, mktime($hour+6, $minute, $second, $month, $day, $year));?

 

In configure I didn`t find it, but I realy appreciate your help!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...