Delphi FormatDateTime 显示日期时间


本文整理自网络,侵删。

 

 

FormatDateTime('yyyy-mm-dd ', now); // 年-月-日 

FormatDateTime('hh:nn:ss',now()); // 时-分-秒

 

FormatDateTime('yyyy-mm-dd hh:nn:ss', now); // 年-月-日  时-分-秒

相关阅读 >>

Delphi 提取字符串中所有数字

Delphi getversionstring 获取文件版本信息

Delphi sysutils.comparestr、sysutils.comparetext - 字符串比较

Delphi 多桌面切换

Delphi使程序的窗口出现在最前面并激活

Delphi xe7中使用json

Delphi 同时激活两个窗体

Delphi调试技巧

Delphi 倒计时源码

Delphi ord chr byte等转换

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



打赏

取消

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

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

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

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

评论

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