Fórum Datas #223924
01/04/2004
0
10/04/2004
10/05/2004
10/06/2004
.
.
.
10/01/2005
Luis
Ldrabelo
Curtir tópico
+ 0Posts
01/04/2004
Marco Salles
01/03/2003 Ou Para 28/02/2003 :?: :?:
Gostei + 0
01/04/2004
Marcio.theis
dt:=DateToStr(tblDTVENCTO.Value);
dia:=10;
mes:=StrToInt(dt[4]+dt[5]);
ano:=StrToInt(dt[7]+dt[8]+dt[9]+dt[10]);
tblDTVENCTO.Value:=StrToDate(FormatFloat(´00´,dia) + ´/´ + FormatFloat(´00´,mes) + ´/´ + FormatFloat(´0000´,ano));
este seria um exemplo mais simples, pode-se fazer de formas mais dinâmicas
Gostei + 0
01/04/2004
Eniosb
function IncMonth(const DateTime: TDateTime; NumberOfMonths: Integer): TDateTime;
T+
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)