var date1,result:string; begin date1:=datetostr(date);//системное время result:=copy(date1,length(date1)-3,4);//год end;
stringgrid1.rowCount;