Demon Song Posted February 15, 2005 Share Posted February 15, 2005 Have searched for it but cant find the code for adjusting the time zone. It's giving the timein USA and not in Australia. Any assistance appreciated. DS :blush: Link to comment Share on other sites More sharing options...
♥Vger Posted February 15, 2005 Share Posted February 15, 2005 includes/languages/english.php (near the top) Vger Link to comment Share on other sites More sharing options...
Demon Song Posted February 16, 2005 Author Share Posted February 16, 2005 includes/languages/english.php (near the top) Vger <{POST_SNAPBACK}> Thanks Vger I found "en_US.ISO_8859-1" . Is that the one and where do I find the country codes to change it? Thanks heaps. :blush: Link to comment Share on other sites More sharing options...
Demon Song Posted March 5, 2005 Author Share Posted March 5, 2005 Thanks Vger I found "en_US.ISO_8859-1" . Is that the one and where do I find the country codes to change it? Thanks heaps. :blush: <{POST_SNAPBACK}> Still unsure about what I should change in the Time Zone setting. Anyone able to point me to the correct comment here please? :blush: Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2005 Share Posted March 5, 2005 What you are trying to do is not quite as simple as you might like. You also have to consider the database time. Existing Solutions: http://www.oscommerce.com/forums/index.php?showtopic=32920&hl= http://www.oscommerce.com/forums/index.php?showtopic=76994&hl= Not exactly elegant. Hopefully Harald will change this in MS3 (very unlikely at this point). Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2005 Share Posted March 5, 2005 Still unsure about what I should change in the Time Zone setting. Anyone able to point me to the correct comment here please? :blush: <{POST_SNAPBACK}> Here is how I my site english.php page to Japan time @setlocale(LC_TIME, 'en_JP'); You need to change JP to your country. en_AUS? Link to comment Share on other sites More sharing options...
Demon Song Posted March 7, 2005 Author Share Posted March 7, 2005 Here is how I my site english.php page to Japan time@setlocale(LC_TIME, 'en_JP'); You need to change JP to your country. en_AUS? <{POST_SNAPBACK}> Thanks Terytokyo. That got it. Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2005 Share Posted March 7, 2005 Here is how I my site english.php page to Japan time@setlocale(LC_TIME, 'en_JP'); You need to change JP to your country. en_AUS? <{POST_SNAPBACK}> Keep in mind that the above code will not change the database time. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.