如何把日期转为16进制数据 如何把日期转为16进制数据 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 var present:TDateTime; year,month,day,hour,minute,second,mm,week:word; buf1:array[0..50] of byte;begin present := Now;//获取当前时间 DecodeDate(present,year,month,day); Decodetime(present,hour,minute,second,mm); week := dayofweek(present) - 1; s:=LengthStr(TelNum,12); buf1[0]:=strtoint('$'+ inttostr(year)); buf1[1]:=strtoint('$'+ inttostr(month)); buf1[2]:=strtoint('$'+ inttostr(day)); buf1[3]:=strtoint('$'+ inttostr(hour)); buf1[4]:=strtoint('$'+ inttostr(minute)); buf1[5]:=strtoint('$'+ inttostr(second)); buf1[6]:=strtoint('$'+ inttostr(week)); ...end 瞧一瞧,看一看,不要错过,小弟跪求一个问题,已经困扰几天了,请各位高手帮忙。 长沙诚聘DELPHI程序员 讨论:公交换乘算法 如果使用DELPHI实现打印预缆? 请教一个问题 在delphi中怎么调用外部可执行文件啊!????救急,在线等候...... 多个表各取一个字段且有条件控制的报表怎么做呀!! 在Delphi中编写费氏级数的程序时,程序最多只能列举到第494位,再多,数字就会成为负数,有没有解决的方法 我写了一段关于TXT文件导入到数据库的部分程序,有些问题请指教 SQLServe高手请进 delphi调用powerpoint问题,急呀!!!!! 请问做决策系统用什么软件好
present:TDateTime;
year,month,day,hour,minute,second,mm,week:word;
buf1:array[0..50] of byte;
begin
present := Now;//获取当前时间
DecodeDate(present,year,month,day);
Decodetime(present,hour,minute,second,mm);
week := dayofweek(present) - 1;
s:=LengthStr(TelNum,12);
buf1[0]:=strtoint('$'+ inttostr(year));
buf1[1]:=strtoint('$'+ inttostr(month));
buf1[2]:=strtoint('$'+ inttostr(day));
buf1[3]:=strtoint('$'+ inttostr(hour));
buf1[4]:=strtoint('$'+ inttostr(minute));
buf1[5]:=strtoint('$'+ inttostr(second));
buf1[6]:=strtoint('$'+ inttostr(week));
...
end