Delphi Date 返回当前的日期


本文整理自网络,侵删。

 Date
  功能说明:返回当前的日期。

  参考实例:

  procedure TForm1.Button1Click(Sender: TObject);

  begin

    Label1.Caption := '今天是:' + DateToStr(Date);

  end;

  Label显示为:今天是2010年1月1日。

相关阅读 >>

Delphi for 循环 downto用法

Delphi tfinddialog treplacedialog对话框在memo中的使用

Delphi字符串、数组操作函数

Delphi 常见的各种形式的组件的安装方法介绍

Delphi 用文字作为窗体的形状

Delphi编写提取exe文件的ico图标

Delphi tgifimage:timage显示gif动画

Delphi之猥琐的webserver实现

Delphi rest application 与 webbroker application 区别

Delphi 方法的类型

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...