procedure TForm1.Button1Click(Sender: TObject);
var
Present: TDateTime;
DatCas : TTimeStamp;
begin
Present:= Now;
DatCas := DateTimeToTimeStamp(Present);
edit1.text := inttostr(DatCas.Date);
edit2.text := inttostr(DatCas.Time);
end;
procedure TForm1.Button1Click(Sender: TObject);
var
Present: TDateTime;
DatCas : TTimeStamp;
begin
Present:= Now;
DatCas := DateTimeToTimeStamp(Present);
edit1.text := inttostr(DatCas.Date);
edit2.text := inttostr(DatCas.Time);
end;
Toto téma si právě prohlíží 1 uživatelů. (0 registrovaných a 1 anonymních)