function isDate ( const DateString: string ): String;
begin
try
StrToDate ( DateString );
result := 't';
except
result := 'n';
end;
end;
.........gdzieś tam dalej.......
if isDate(sgTab.Cells[0,i]) = 'n' then
sgTab.Cells[0,i] := DateToStr(date);
Dlaczego wywala mi błąd:
Project Project1.exe raised exception class ECon... message "08:73" is not a valid time....
Co jest źle? Jak inaczej sprawdzać?