Current date in joomla Topic is solved

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
Sawariya

Current date in joomla

Post by Sawariya » Fri Sep 21, 2007 4:42 am

Hi friends I am new with joomla... i am struggling with pagination and validation ..anybody can help me ,,,,,
and which funnction is usung to get current system  time ...

defined('_JEXEC') or die ('Restricted access');

class TableMessages extends JTable
{
var $title = null;
var $tags = null;
var $description = null;
var $contents = null;
var $status = 1;
var $created_on = date('Y-m-d H:i:s');
var $id = null;

function tableMessages () {

parent::__construct ('#__messageboard','id',$db);
}
}
?>

This is my table query///
Last edited by Sawariya on Mon Sep 24, 2007 4:54 am, edited 1 time in total.

User avatar
ianmac
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Current date in joomla

Post by ianmac » Fri Sep 21, 2007 11:26 am

It's best if you can be a bit more specific with what issues you are facing.

Try detailing what you have tried so far, what you have succeeded in doing and what you have trouble with.

Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!


Post Reply