var<br> iYear,iMonth,iDay: word;<br> s: string;<br>begin<br> DecodeDate(now,iyear,imonth,iday);<br> if length(strtoint(iyear))>2 then<br> s := copy(strtoint(iyear),1,length(strtoint(iyear))-12 )<br> Edit1.Text := s + edit1.text<br>end;<br>虽笨点,但能实现功能,想那么多技巧干什么?