I would like to know how many days, months and years is between this two
dates.
Thanks, Smily
Hi Smily,
if we supose that Date2 > Date1 then:
procedure DateDiff(Date1, Date2: TDateTime; var Year, Month, Day: Word);
begin
DecodeDate(Date2 - Date1,Year,Month,Day);
end;
--
JAM - Relájate y disfruta...
Hope this helps
Phil