本文整理自网络,侵删。
Date
功能说明:返回当前的日期。
参考实例:
procedure TForm1.Button1Click(Sender: TObject);
begin
Label1.Caption := '今天是:' + DateToStr(Date);
end;
Label显示为:今天是2010年1月1日。
相关阅读 >>
Delphi2007-Delphi2010 程序不出现在任务栏的方法
Delphi idhttp中get 图像链接通过memorystream加载 image控件显示
更多相关阅读请进入《Delphi》频道 >>