loading table of contents...

1.3. DIAS_ENTRE_FECHAS()

 
DIAS_ENTRE_FECHAS()
Calcula días entre fechas.
Retorna: integer 
Días calculados
Parámetros:
object  fecha_inicial
Fecha inicial
object  fecha_final
Fecha final
boolean  habil
Indica si el cálculo se hace entre días hábiles
Versión: 4.0.2+
 
Ejemplo:
var diasVencimiento= DIAS_ENTRE_FECHAS('2015-01-15', HOY(), true);