Return to Snippet

Revision: 25794
at April 9, 2010 04:53 by K2Joom


Initial Code
<?php if($this->item->params->get('itemDateCreated')): ?>
<!-- Date created -->
<span class="itemDateCreated">
<?php echo JHTML::_('date', $this->item->created , JText::_('DATE_FORMAT_LC2')); ?>
</span>
<?php endif; ?>

Initial URL


Initial Description
This is used to display the date the item was created, within the item page.
DATE_FORMAT_LC2 can be changed to suit allowable Joomla variants.

Initial Title
itemDateCreated - Index.php - K2 - V2.2

Initial Tags
date

Initial Language
PHP