C Carson_zzd Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-12 #3 select getdate()-dateField as 天数 from tablename
D dcx0026 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-12 #4 select DATEDIFF(day,'2003-3-4',getdate())
D dez_0609 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-12 #5 uses DateUtils daysbetween(Anow,Athen)
H Highpeak Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-12 #6 trunc(now()-StrToDate('2003-3-4'));
C calman Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-20 #7 TDateTime的整数部分代表天,小数部分代表秒,可直接相减求整
A adden_lian Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-20 #8 showmessage(floattostr((date-strtodate(edit1.Text))));