Advertisement
Gov_777

data -> integer

Oct 22nd, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.17 KB | None | 0 0
  1. procedure TForm1.Button2Click(Sender: TObject);
  2. var
  3. i: integer;
  4. begin
  5. ShowMessage(DateToStr(Now));
  6. i:=(Round(StrToDate(DateToStr(Now))));
  7. ShowMessage(IntToStr(i));
  8. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement