![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
#9
|
||||
|
||||
|
rESTAR fECHAS
mAJOSF q tAL cOMO tE vA.
nO tE lA haGAS dIFICIL, reCUERDA q lAS vaRIABLES tIPO fECHA (tDate y tDateTime) eN rEALIDAD sON nUMEROS rEALES rePRESENTATIVOS dE fECHAS, y pUEDES mANIPULARLOS cOMO tAL. sIMPLEMENTE reSTALOS y eL rESULTADO sIEMPRE eS eN dIAS 16/11/2005 - 10/11/2005 = 6 dIAS 25/12/2005 - 22/11/2005 = 33 dIAS 2005, 12, 25); //es año, mes, dia en la codificacion y := EncodeDate(2005, 11, 22) y aSI cON cUALQUIER reSTA dE fECHAS. eSPERO tE sIRVA. sI tIENES dUDAS cONTACTAME Última edición por MichelH fecha: 16-11-2005 a las 07:04:49. |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|