<?php
$author = $this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author;
$user = JFactory::getUser($this->item->created_by);
$blog_datetime = date_create(JText::sprintf(JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC1'))));
$blog_date = date_format($blog_datetime,'d');
$blog_month = date_format($blog_datetime,'M');
$blog_year = date_format($blog_datetime,'Y');
?>