Alternative Date Format

  • Laus
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 6 months ago #14196 by Laus
Alternative Date Format was created by Laus
I have my current date format set to: D jS M Y g:ia

I would however like to show a fuller date format in my details view: l, F j, Y g:i A

I have added the code:
Code:
<h2 class="eb_title"><?php if ($item->event_date == EB_TBC_DATE) { echo JText::_('EB_TBC'); } else { echo JHTML::_([color=#BF0000]'date', $item->event_date, $this->config->event_date_format, $param[/color]) ; } ?></h2>

to my default.php file, but how can I use this alternative date format for this one instance please?

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc