By fletcherson on
Ref: Formatting the way the date/time is displayed
At the top of your node.tpl.php file, add:
$formatted_date = format_date($node->created, 'custom', 'D j M Y');Change the "D j M Y" part to what you require (see below for possible variables).
Then print or echo $formatted_date instead of $date. Look in your template for the string $date and replace it with $formatted_date.
In the Chameleon theme I was able to find the $date in the chameleon.theme-file, but I couldn't find it in
Bluemarine's Page.tpl.php, neither in the phptemplate.engine file. So it looks like something has changed.
Could anybody please tell me how it's done in Bluemarine/PHPtemplate that comes with Drupal 4.7.2?
Seems like that bookpage is outdated, might be an idea to update it as well.