Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Date format in 2.1


jensl1972

Recommended Posts

Hi all!

 

I have found this solution for changing the date format in OSC 2.2:

 

Change function tep_date_raw in english.php to:

 

function tep_date_raw($date, $reverse = false) {

if ($reverse) {

return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4);

} else {

return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2);

}

}

 

How can I do this in 2.1?

Jens Lorentsen

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...