本文整理自网络,侵删。
uses DateUtils;//比较两个日期是否大于20天function Comparisondate(t1,t2:TDateTime): Boolean;beginresult:=false;if DaysBetween(t1,t2)>20 thenbeginresult:=True;end;end;
相关阅读 >>
Delphi fdmemtable中如何在已有的字段数据集上加入字段
Delphi setwindowshookex - 设置钩子 unhookwindowshookex - 卸掉钩子
Delphi removewhitespaces 过滤字符串所有空格
更多相关阅读请进入《Delphi》频道 >>