delphi中怎么计算两个日期差?就是计算机借款日期和还款日期之间隔着几天?我用下面的方法怎么提示出错。edit1.Text:=inttostr(DaysBetween(formatdatetime('ddd',now),formatdatetime('ddd',now)));