如何将指定的日期传给DateTimePicke ???点击?Button1后,将给定日期如2011-10-20 赋值给DateTimePicke1,如何做[解决办法]DateTimePicke1.DataTime := StrToDate('2011-10-20');[解决办法]楼上正解![解决办法]try StrToDateTime(str); //str为制定的字符串exceptend;