Como cambiar formato timestamp en php
Tengo el siguiente código
¿<?php
$db = new SQLite3('Database.sql');
$results = $db->query('SELECT * FROM ZSTUDY');
echo "<table>";
echo "<tr>";
echo "<th>fecha</th>";
echo "<th>Nombre</th>";
echo "<th>institucion</th>";
echo "<th>modalidad</th>";
echo "</tr>";
while ($row = $results->fetchArray()){
echo "<tr>";
echo "<td>$row[10]</td>";
echo "<td>$row[24]</td>";
echo "<td>$row[22]</td>";
echo "<td>$row[23]</td>";
echo "</tr>";
}
echo "</table>";
?>lo cual me muestra...

En la base de datos el campo fecha es timestamp, como puedo hacer en el codigo para que me muestre el formato de fecha normal dd/mm/yyyy.
1 respuesta
Respuesta de david ..
1
