代码如下
procedure TForm1.Button3Click(Sender: TObject);
var
present:tdatetime; //这个tdatetime是什么意思啊
Year,manth,day,Hour,min,sec,msec:word;
temp:string;
begin
present:=now;
decodedate(present,Year,manth,day); //decdedate又是什么意思
temp:=inttostr(Year)+'.'+inttostr(manth)+'.'+inttostr(day);
decodetime(present,Hour,min,sec,msec); //decodetime 是什么意思呢
label1.Caption:=temp+' '+inttostr(Hour)+':'+inttostr(min)+':'+inttostr(sec);
//inttostr是获取字符串 还是获取数啊
小弟 在这里请教下啊
end;
end.
-------------------------------------------------------------------------------------------
春哥纯爷们,铁血真汉子,人民好兄弟,父亲好儿子,胸口碎大石,双拳能站人,双臂能过马,菊花开瓶盖,夜御百女枪不倒,菊花百战色仍红。