本文整理自网络,侵删。
FormatDateTime('yyyy-mm-dd ', now); // 年-月-日
FormatDateTime('hh:nn:ss',now()); // 时-分-秒
FormatDateTime('yyyy-mm-dd hh:nn:ss', now); // 年-月-日 时-分-秒
相关阅读 >>
Delphi 用 getenvironmentvariable 获取常用系统环境变量
更多相关阅读请进入《Delphi》频道 >>
本文整理自网络,侵删。
FormatDateTime('yyyy-mm-dd ', now); // 年-月-日
FormatDateTime('hh:nn:ss',now()); // 时-分-秒
FormatDateTime('yyyy-mm-dd hh:nn:ss', now); // 年-月-日 时-分-秒
相关阅读 >>
Delphi 用 getenvironmentvariable 获取常用系统环境变量
更多相关阅读请进入《Delphi》频道 >>
管理员已关闭评论功能...