Código PHP:
$hoy = strtotime ('{fecha_cambio}') ;
$norma = strtotime('+2 day') ;
if ($hoy < $norma) {
return TRUE ;
} else {
return FALSE ;
}
Código PHP:
$hoy = strtotime ('{fecha_cambio}') ;
$norma = strtotime('+2 day') ;
if (empty('{id}'))
{
if ($hoy < $norma) {
return TRUE ;
} else {
return FALSE
; }
} else {
return FALSE
;}