K kunhong Unregistered / Unconfirmed GUEST, unregistred user! 2008-01-24 #1 请问各位大侠,要在delphi程序开始运行时就提取系统当前的时间应该用哪个控件?如果提取的时间是hh:mm:ss,我只要提取出hh,应该如何操作?
C Corn3 Unregistered / Unconfirmed GUEST, unregistred user! 2008-01-24 #3 uses DateUtils; hh := HourOf(Now);
L lxw5214 Unregistered / Unconfirmed GUEST, unregistred user! 2008-01-24 #4 formatdatetime('hh',now);