S
Sun
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button1Click(Sender: TObject);
var
MyDate: TDateTime;
begin
try
MyDate := EncodeDate(1999,2, 29);
Label1.Caption := DateToStr(MyDate);
except
on E:EConvertError do
begin
ShowMessage('ok');
raise;
end;
end;
end;
var
MyDate: TDateTime;
begin
try
MyDate := EncodeDate(1999,2, 29);
Label1.Caption := DateToStr(MyDate);
except
on E:EConvertError do
begin
ShowMessage('ok');
raise;
end;
end;
end;