
22/11/2007, 10:18
|
 | | | Fecha de Ingreso: junio-2005
Mensajes: 156
Antigüedad: 19 años, 9 meses Puntos: 0 | |
Re: Imprimir fechas Ok muchas gracias por la ayuda...con la modificación siguiente ya quedó OKs
<?php
$inicio = strtotime('2007-10-01');
$fin = strtotime('2007-12-31');
for ($fecha = $inicio; $fecha <= $fin; $fecha += 24 * 60 *60)
{
echo date('Y-m-d', $fecha);
}
?> |