深圳全飞鸿

标题: delphi的时间函数 [打印本页]

作者: syant    时间: 2019-6-1 17:15
标题: delphi的时间函数
cloud_mes_003范例:

  1.   if(logTick)then __SQLLog(#13#10+'[ '+  FormatDateTime('hh:nn:ss',now())  +' ]'+#13#10);
复制代码


PowerManage范例:
  1.      label1.caption:=FormatDateTime('hh:nn:ss',now()) ;
  2.      label2.Caption:='将自动关机在 '+ inttostr(m) +' 分 '+inttostr(n)+' 秒后... ';
复制代码





欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/) Powered by Discuz! X3.2