H helloqiner Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-03 #4 uses dateutils; 然后使用下面的函数 function SecondsBetween(const ANow, AThen: TDateTime): Int64;
G gyh75 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-03 #5 相减后得到的是天 再乘以24 × 3600 就是秒, 再取整
C caihua Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-03 #7 uses dateutils; function SecondsBetween
A Another_eYes Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-03 #8 呵呵 round((date1-date2) * 86400)