PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

Drupal show only date on time

December20

In the node.tpl file add the following:

<span><?php print t(’!date’, array(’!date’ => format_date($node->created, ‘custom’, ‘D, Y-m-j’))); ?></span>

Where we add format_date ‘custom’

posted under Drupal

Email will not be published

Website example

Your Comment:

 

1,852 spam comments
blocked by
Akismet