1
my XOOPS form
$form->addElement(new XoopsFormDateTime(_AM_MEDICAL_BOOKINGS_TIME, 'bookings_date', ""));
My class
$this->initVar("bookings_date",XOBJ_DTYPE_INT,null,false,10);
database field name is
bookings_date int(11) Mot NULL,
bookings_time int(11) Mot NULL,
when i am submitting it is inserting all the data except date and time