![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#7
|
||||
|
||||
|
Lo que creo que falta aquí es el EncodeDate
Código:
procedure TFrm_GiftShop.Tbl_GiftShopFecha_RenovacionChange(Sender: TField);
var dd,mm,aa : word;
begin
// Fecha_Soporte := Tbl_GiftShopFecha_Renovacion.Value;
DecodeDate(Fecha_Soporte, DD, MM, AA);
AA := AA + 1;
Fecha_Soporte := EncodeDate(DD, MM, AA);
Tbl_GiftShopFecha_Pendiente_Renovacion.Value := Fecha_Soporte;
end;
Código:
procedure TFrm_GiftShop.Tbl_GiftShopFecha_RenovacionChange(Sender: TField);
var dd,mm,aa : word;
begin
// Fecha_Soporte := Tbl_GiftShopFecha_Renovacion.Value;
DecodeDate(Fecha_Soporte, DD, MM, AA);
Fecha_Soporte := EncodeDate(DD, MM, AA + 1);
Tbl_GiftShopFecha_Pendiente_Renovacion.Value := Fecha_Soporte;
end;
|
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| sumar dias una fecha dada | Goyo | Varios | 3 | 25-05-2007 02:23:39 |
| Sumar dias a una fecha inicial en delphi | bellota | Varios | 4 | 06-06-2006 16:42:40 |
| Sumar solo años a una fecha | YaninaGenia | Varios | 3 | 03-10-2005 21:45:26 |
| SUmar dias a una fecha | raffagia | Varios | 1 | 04-10-2004 18:28:13 |
| Sumar Dias a una fecha? | danytorres | SQL | 1 | 16-01-2004 05:04:15 |
|