本文整理自网络,侵删。
FormatDateTime('yyyy-mm-dd ', now); // 年-月-日
FormatDateTime('hh:nn:ss',now()); // 时-分-秒
FormatDateTime('yyyy-mm-dd hh:nn:ss', now); // 年-月-日 时-分-秒
相关阅读 >>
Delphi getversionstring 获取文件版本信息
Delphi sysutils.comparestr、sysutils.comparetext - 字符串比较
更多相关阅读请进入《Delphi》频道 >>