Add Publish Date in Joomla 2.5 Module

asked Jan 24, 2013 in Website Builder by jomnew (2,180 points)
Hello ,

I want  to add Publish date in the newsflash module in my Joomla 2.5 site. How can I make the  publish date display in the newsflash module . I would appreciate it if anyone can help

1 Answer

0 like 0 dislike
answered Jan 24, 2013 by TopNet (10,360 points)
Add the following code to your php file.

<?php echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2')) ?>