Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/09/2005, 06:52
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Prueba esto:

Código PHP:
<?php
   $fecha
=date("Y-m-d H:i");
   
//construyo el timestamp de la fecha y hora actual + 48 horas
   
$ts_fechares=mktime(date("H")+48,date("i"),0,date("n"),date("d"),date("Y"));
   
//muestro la fecha resultante
   
echo date("Y-m-d H:i",$ts_fechares);
?>