Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Wrong Time Stamp


Recommended Posts

  • 4 months later...
  • 2 weeks later...

I also have same problem UK sites running on US server all times in orders. visiotrs etc all us time and very confusing for the owner .


heres my thread http://www.oscommerce.com/forums/index.php?showtopic=112124&hl=


heres the answer i got


In your osCommerce 'admin' section, go to Tools -> Define Languages -> english.php and look for this line close to the top @setlocale(LC_TIME, 'en_US.ISO_8859-1'); You'll need to change this for the UK - sorry don't know the exact setting for that myself. You can also, while there, change the date format from the american month/day/year to the british day/month/year, by altering all references to mm/dd/yyyy or m/d/y to dd/mm/yyyy or d/m/y. Make sure to changes all references to it, even in the settings used for the create_account page (which are in the same Define Languages->english.php page).



Ok so souinds simple my problem now is i dont know what it would be forsetting for the UK have a look guys see if thsi helps and let us know





My fav site


Spend most my cash there dont tell the wife:-)

Link to comment
Share on other sites

  • 5 weeks later...

Hi Charly,


from the information you have just given me, I would hazzard a guess that the code should slightly change to the following:


@setlocale(LC_TIME, 'en_UK.ISO_8859-1');



I have made the change in my english.php file, and I am keeping my fingers crossed.

Link to comment
Share on other sites

No m8 does not seem to work unless you chagne the -1 to match uk time ?



Hi, its a lot of work, you need to go trough a lot of code. I have started my own Hosting company now with servers with UK time....your welcome to host with me if you want your osCommerce shop in the UK time, we have osc in our Fantastico script and we can install for you the creOsc extra 48+ modules/extensions.... www.1link4it.co.uk


Wish you the best.



Link to comment
Share on other sites


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

  • Create New...