关于时间间隔的问题 好象没有: 用query query.sql.add(SELECT DATEDIFF(day, now1, now2) AS no_of_days') ; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 同意chechy(chechy)的意见,相减好的数值可以通过函数分解后获得天数和时间 showmessage(timetostr(strtotime('6:20:34')-strtotime('7:10:12'))) procedure tform1.button1click(sender:tobject);var year,month,day,hour,min,sec,msec:word;begin decodedate(now,year,month,day); //分解日期 canvas.textout(10,10,'今天是'+inttostr(year)+'年'+inttostr(month) +'月'+inttostr(day)+'日'); decodetime(now,hour,min,sec,msec); //分解时间 canvas.textout(10,30,'现在是'+inttostr(hour)+'时'+inttostr(min)+'分'+ inttostr(sec)+'.'+inttostr(msec)+'秒');end; 关于IDTCP中流文件的发送问题 如何检测某个程序特定事件发生? ADO打开DBF文件,出现乱码,如何解决 小猫提问:安装制作问题(三)WISE版 >>>>>>>>关于DBGRID控件的简单问题〈〈〈〈〈 现在我的单号输入EDIT,只认小写字母,不认大写字母,比如00001a就认。00001A就不认,我要大小写都认 請問如何將網頁文件(html)保存到自已的數據庫里 关于数据库存储数据碰到的一个难题 哪里下载DCOMCNFG.EXE? 数据编排...急...!送分! 本周话题(二),偶的算法、数据结构学的不好(数学差),除了数据库之外,还能作哪些开发方向? 表的访问次数问题?
var
year,month,day,hour,min,sec,msec:word;
begin
decodedate(now,year,month,day); //分解日期
canvas.textout(10,10,'今天是'+inttostr(year)+'年'+inttostr(month)
+'月'+inttostr(day)+'日');
decodetime(now,hour,min,sec,msec); //分解时间
canvas.textout(10,30,'现在是'+inttostr(hour)+'时'+inttostr(min)+'分'+
inttostr(sec)+'.'+inttostr(msec)+'秒');
end;