Q:

get current date delphi

var
  currentDate: TDateTime;
begin
  currentDate := Now;
  ShowMessage(DateToStr(currentDate)); //Show the current date 
  ShowMessage(TimeToStr(currentDate)); //Show the current time
end;
1

New to Communities?

Join the community