In Interspire Website Publisher we have a single function that controls the display of the date, thus making it easier to change.
In order to change it, you will need to open /admin/includes/class.helper.php in a text editor (such as notepad, not MS Word) and then locate the following few lines of code:
function ShortDate($TheDate)
{
// Defaults to american date format
return date("m/j/Y", $TheDate);
}
The section that controls the format of the date is: "m/j/Y"
So we can change this to any format we like; here are some common ones:
Note: The letters are case sensistive. e.g. Y will produce 2006 while y will output 06.
For DD/MM/YY change it to "j/m/y"
For DD/MM/YYYY change it to "j/m/Y"
For YY/MM/DD change it to "y/j/m"
For a list of what other characters can be used, visit http://www.php.net/date
If you have any trouble with this modification, send in a trouble ticket from your client area and we will help you out.

The article has been updated successfully.