endee Posted March 25, 2004 Share Posted March 25, 2004 I want to change the timezone for my store so that my correct local time (EST) shows when an order is placed. Where is the timezone setting stored?? Thanks for any help - much appreciated Link to comment Share on other sites More sharing options...
T. Raven Posted May 19, 2004 Share Posted May 19, 2004 Yes, me to , i am in the UK and my host is 5 hours earlier Link to comment Share on other sites More sharing options...
Guest Posted May 19, 2004 Share Posted May 19, 2004 please do a search on this, as it has been discussed numerous times in the last few days. this is something which needs to originate with your host, as it is a server issue, not an osCommerce issue. most computers are set to GMT. remember, here the Search is your best friend. Link to comment Share on other sites More sharing options...
T. Raven Posted May 19, 2004 Share Posted May 19, 2004 please do a search on this, as it has been discussed numerous times in the last few days. this is something which needs to originate with your host, as it is a server issue, not an osCommerce issue. most computers are set to GMT. remember, here the Search is your best friend. I a searching 3 days..... and i am really feeling hopeless about it. and wit me many others. my host is telling me its osCommerce time zone or local time... :blink: Link to comment Share on other sites More sharing options...
vasttech Posted May 19, 2004 Share Posted May 19, 2004 Another prime example of hosting companies not understand/supporting 3rd party products. You can not set the time in OSC, you can change the date/time format, but not the actual time. Call/email your host and point them to these forums. osCommerce Knowledge Base osCommerce Documentation Contributions Link to comment Share on other sites More sharing options...
burt Posted May 19, 2004 Share Posted May 19, 2004 <?php // 3600 == one hour // see www.php.net/date for what all the F jS etc etc means echo "<li>In the UK, it is now " . date("l F jS @ H:i:s a"); echo "<li>5 hours ago it was " . date("l F jS @ H:i:s a",(time()-18000)); echo "<li>10 hours ago it was " . date("l F jS @ H:i:s a",(time()-36000)); echo "<li>5 hours into the future is " . date("l F jS @ H:i:s a",(time()+18000)); echo "<li>10 hours into the future is " . date("l F jS @ H:i:s a",(time()+36000)); echo "<li>A week ago it was " . date("l F jS @ H:i:s a",(time()-604800)); echo "<li>This time last year it was " . date("l F jS Y @ H:i:s a",(time()-31449600)); ?> Amend to suit your needs. Link to comment Share on other sites More sharing options...
T. Raven Posted May 27, 2004 Share Posted May 27, 2004 Thanks ever so much, thats great, Now i hope someone can tell me where to chanhe in the order system the time to add 5 hours with your script Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.