Hi,
templatesja_teline_ivblockstopbar.php use this code to show last update:
<p class="ja-updatetime"><span><?php echo JText::_('Last update')?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>
getLastUpdate() is defined in pluginssystemjat3corecommon.php
function getLastUpdate(){
$db = &JFactory::getDBO();
$query = 'SELECT created FROM #__content a ORDER BY created DESC LIMIT 1';
$db->setQuery($query);
$data = $db->loadObject();
if( $data->created ){ //return gmdate( 'h:i:s A', strtotime($data->created) ) .' GMT ';
return JHTML::date($data->created, "%H:%M:%S");
$date =& JFactory::getDate(strtotime($data->created));
$user =& JFactory::getUser();
$tz = $config->get('offset');
$sec =$date->toUNIX(); //set the date time to second
return gmdate("h:i:s A", $sec).' GMT';
}
return ;
}