![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/07/2009, 14:48
|
| | Fecha de Ingreso: marzo-2009
Mensajes: 163
Antigüedad: 15 años, 11 meses Puntos: 0 | |
Respuesta: Duda de urgencia Y LO PRINCIPAL DENTRO DE DONDE HAGO LAS OPERACIONES ES
$fecha_hoy = date("Y-m-d");
$fecha_calc = $datos['const_date_calc'];
print "<p style='color:red;'>NOTA: #".datediff('w', $fecha_hoy, $fecha_calc, false)." días hábiles para terminar escritura ( firmas delas partes ).</p>";
DONDE LA FECHA_CAL VIENE DE LA BASE DE DATOS Y LA DE HOY PUES AHI SE INDICA |