Answers for "how to pull date from the system in delphi"

0

how to pull date from the system in delphi

var.
currentDate: TDateTime;
begin.
currentDate := Now;
ShowMessage(DateToStr(currentDate)); //Show the current date.
ShowMessage(TimeToStr(currentDate)); //Show the current time.
end;
Posted by: Guest on February-28-2021

Code answers related to "how to pull date from the system in delphi"

Browse Popular Code Answers by Language