The folowing code show a set of rows based on one Sql query based on ADO connection.
Everthing apear to work fine except that all fields who is type 133 ( Date) always return the -1 value, instead of the right date.
How can I handle with ado Datefields with php?
Have any function to transform this -1 on date ?
.
.
.
while(!$sth->EOF){
print "<tr>\n";
printf(" <td>%s</td>\n", $sth->Fields['nota_fisca']->Value);
printf(" <td>%s</td>\n", $sth->Fields['d_emissao']->Value);
printf(" <td>%s</td>\n", $sth->Fields['valor']->Value);
printf(" <td>%s</td>\n", $sth->Fields'd_vencimen']->Value);
$sth->movenext();
echo "</tr>\n";
}
.
.
.