Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming! |
⤷ Get difference between of 2 dates
You can use operation of a difference between dates. The answer is a count of days between them.
procedure TForm1.Button1Click(Sender: TObject);
begin
Label3.Caption:=FloatToStr(
StrToDate(Edit1.Text)-StrToDate(Edit2.Text))+
' days between of this dates';
end;
-
More for developers