The date field of my application is entering the values 0000-00-00 00:00:00
, but I can not find the file that makes the insert,
The function that makes write to the bank is this:
$db = & JFactory::getDBO();
if ($db->connected()) {
$data =new stdClass();
$data->nome = $_POST['nome'];
$data->email = $_POST['email'];
$data->telefone = $_POST['telefone'];
$data->cidade = $_POST['cidade'];
$data->estado = $_POST['estado'];
$db->insertObject('database_orcamentos', $data);