@w click:
I was just about to post almost the same code - you beat me by seconds <grin>
I was also going to suggest putting this in a TTimer.OnTimer event so that it will constantly update, like so:
procedure TForm1.Timer1Timer(Sender: TObject);
begin
Edit1.Text := FormatDateTime('DDDD, dd MMMM YYYY HH:MM:SS', Now);
end;
Ensure to set the .Interval value to 1000 if you want just seconds or 1 if you want to update milliseconds.
regards,
geno