Hi guys,i need a little help on how to show time in DD-MM-YYYY in a table in the dashboard. I'm having this flow where an array comes from a Mysql query:
n.
msg.topic = "SELECT DATE_FORMAT(`time_deb`, '%d-%m-%Y') AS jour, pompe, SEC_TO_TIME(SUM(duration))AS Hrs, sum(departs)AS departs from `vue_5` where `time_deb` is not NULL group by DATE_FORMAT(`time_deb`, '%d-%m-%Y'), pompe order by DATE_FORMAT(`time_deb`, '%d-%m-%Y'), pompe ASC LIMIT 65 " ;return msg;