strtodate这也出错,太晕了:报这没有重载的版本,该怎么处理

strtodate这也出错,太晕了:报这没有重载的版本
DateTimePicker1.DateTime:=strtodate(AdoQuery1.Fields[2].AsString, 'yyyy-mm-dd ');

------解决方案--------------------
DateTimePicker1.DateTime:=AdoQuery1.fieldbyname( 'SetupDate ').AsDateTime;
------解决方案--------------------
DateTime <> strtodate
------解决方案--------------------
function StrToDate(const S: string): TDateTime;
function StrToDate(const S: string;
const FormatSettings: TFormatSettings): TDateTime;
你看delphi的StrToDate的定义,没有两个参数都是字符串的方法