So i have this query which outputs me some data.
I have this query here:
$lista="Select * from forma WHERE id=$id" or die(odbc_error());
forma table has a data column, which is of datetime type , and i need it to print like:
Y/m/d type.
How can i do this please? In the query?
Thanks
You can use
CONVERTof SQL Server.See
Read this: