PDA

View Full Version : Date and Time at the footer


janicen
6-10-04, 06:26 PM
Hello guys,

There is a date and time appearing on the footer "border" such as (European format) Thursday 10 June, 2004 and I want to change to Thursday June 10, 2004 (American format). Where do I find a PHP file for that ? :confused:

Many thanks!
Janice

NMS
6-10-04, 06:28 PM
Simply change the layout within the script .. what footer are talkin about!

janicen
6-10-04, 06:31 PM
Simply change the layout within the script .. what footer are talkin about!

:rolleyes: I mean, every page of osCommerce has a date and time at the bottom of the page. Which filename for that update of the date format ? :confused:

NMS
6-11-04, 12:30 PM
Sorry I did not know you were refering to oscommerce and i have no idea about the file name .. try and access a footer and find the file!

stevel
6-11-04, 03:20 PM
There are defines in english.php that specify how the various date formats appear. I have not studied these in detail, but that's where you want to look.

janicen
6-11-04, 06:42 PM
Yes!!! Thank you Steve! :D I found in english.php and updated the define statement as shown:

define('DATE_FORMAT_LONG', '%A %B %d, %Y'); // this is used for strftime()

Before I updated the define statement, it was:
define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

That is for all oscommerce developers wanted to update.... to save their time to code.

Jan :)