procedure TForm1.FormCreate(Sender: TObject); Var str:string; begin str:=FormatDateTime('ss',Time); label1.Caption:=str; end;