delphi 如何将字符型转换成日期型

delphi 如何将字符型转换成日期型 急用

第1个回答  推荐于2016-01-10
strToDate()
如:
DateTimePicker31.Date := strToDate(Cells[0,Row0]);//入住时间
DateTimePicker32.Date := strToDate(Cells[1,Row0]);//离开时间
以上是本人的餐饮商用程序的两句实例本回答被提问者采纳
第2个回答  2008-07-14
function StrToDateTime()
第3个回答  2008-07-13
function StrToDate(String S): Date;
第4个回答  2008-07-14
strtoDate();