Guest Posted March 14, 2005 Share Posted March 14, 2005 I would like to change the date format from the american MM/DD/YY to the UK DD/MM/YY. This is probably really simple to do but i cant figure it out. lol Cheers Matt ( A total noob) Link to comment Share on other sites More sharing options...
Studynet Posted March 14, 2005 Share Posted March 14, 2005 Hi I changed the format in the file includes/languages/english.php Then look for the lines define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'd/m/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); define('DOB_FORMAT_STRING', 'dd/mm/yyyy'); I think those are the only places it is stored. HTH Richard Link to comment Share on other sites More sharing options...
Mighty Mike Posted March 14, 2005 Share Posted March 14, 2005 Hi If you have a clean install of oscommerce, there is a contribution for a UK setup. this will tell you how to change everything you need. I have not used it myself, as i have loads of mods on my site, but it might be a good place to start with a clean install. cheers Link to comment Share on other sites More sharing options...
Guest Posted March 15, 2005 Share Posted March 15, 2005 Thanks for that! its worked a treat! Cheers :D Link to comment Share on other sites More sharing options...
♥yesudo Posted March 15, 2005 Share Posted March 15, 2005 http://www.oscommerce.com/forums/index.php?sho...34entry529134 Your online success is Paramount. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.