本文整理自网络,侵删。
Date
功能说明:返回当前的日期。
参考实例:
procedure TForm1.Button1Click(Sender: TObject);
begin
Label1.Caption := '今天是:' + DateToStr(Date);
end;
Label显示为:今天是2010年1月1日。
相关阅读 >>
Delphi tfinddialog treplacedialog对话框在memo中的使用
Delphi tgifimage:timage显示gif动画
Delphi rest application 与 webbroker application 区别
更多相关阅读请进入《Delphi》频道 >>