Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure TForm1.Button2Click(Sender: TObject);
- var
- i: integer;
- begin
- ShowMessage(DateToStr(Now));
- i:=(Round(StrToDate(DateToStr(Now))));
- ShowMessage(IntToStr(i));
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement