From Clomosy Docs
function Now():TclDateTime;
The Now function returns the current date and time in the local time zone.
Example
TRObject Syntax
var
today : TclDateTime;
{
today = Now(); // or Now
ShowMessage('Today has date = '+DateToStr(today));
ShowMessage('Today has time = '+TimeToStr(today));
}
Base Syntax
var
today : TclDateTime;
begin
today := Now(); // or Now
ShowMessage('Today has date = '+DateToStr(today));
ShowMessage('Today has time = '+TimeToStr(today));
end;
Output:
Today has date = 28.02.2023 Today has time = 13:08:53