delphi时间函数

时间:2013-06-02 05:15:09
【文件属性】:
文件名称:delphi时间函数
文件大小:11KB
文件格式:TXT
更新时间:2013-06-02 05:15:09
时间函数 delphi时间函数 所在单元:Unit DateUtils 1.function DateOf(const AValue: TDateTime): TDateTime; 描述使用 DateOf 函数用来把一个 TDateTime 类型的变量转变成一个只带有日期的 TDateTime 类型变量。例如: showmessage(DateTimetostr(dateof(now()))); 你得到的是 2003/03/19 而 showmessage(DateTimetostr((now()))); 得到的是 2003/03/19 10:50:49

网友评论

  • 解释的非常详细!