Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/11/2011, 11:37
Avatar de jcxnet
jcxnet
 
Fecha de Ingreso: octubre-2005
Ubicación: Perú
Mensajes: 784
Antigüedad: 21 años
Puntos: 56
Respuesta: fechas en php

Código PHP:
$fecha = date('Y-m-d');
$cuotas = 5;
for(
$i=0;$i<$cuotas;$i++){
  
$vencimiento = date('Y-m-d',strtotime("$fecha +1 month") ); 
    
$fecha = $vencimiento;
    echo 
"$vencimiento<br/>";
} 
__________________
►I'm a devil on the run ♂
Jcxnet.com
*Keep It Simple **