cambiare formato in uscita timestamp

TeoDigital

Nuovo Utente
17 Lug 2017
14
0
1
43
Ciao Ragazzi.
riuscite a dirmi gentilmente come cambiare il formato della data in uscita usando la seguente query di inerrogazione del database? grazie

SELECT markers.id, markers.ts, markers.addresstre, markers.addressquattro, markers.addresscinque, markers.addresssei, markers.azienda, comments.idcomment, comments.comment FROM markers LEFT JOIN comments ON markers.id = comments.idcomment WHERE markers.azienda = '$azienda' ORDER BY markers.ts DESC

il risultato della TIMESTAMP è qui: markers.ts

ora la data mi viene restituita così: 2017-07-26
mi serve così: 26-07-2017

grazie mille
 

Discussioni simili