S supperwing Unregistered / Unconfirmed GUEST, unregistred user! 2010-04-06 #1 请问一个DateTimePicker=8:30 另一个DateTimePicker=7:30怎样才得出它们两者的相差时间为1:00小时啊?
L liuls Unregistered / Unconfirmed GUEST, unregistred user! 2010-04-06 #2 use DateUtils;begin HoursBetween()end;
S smlabc Unregistered / Unconfirmed GUEST, unregistred user! 2010-04-06 #3 dt1 - dt2 //天(dt1-dt2)/24 //小时..
L loxtln Unregistered / Unconfirmed GUEST, unregistred user! 2010-06-04 #4 h:=round((DateTimePicker2.Date-DateTimePicker1.Date)*24);
极 极品铁观音 Unregistered / Unconfirmed GUEST, unregistred user! 2010-06-04 #5 这是我用的求天数的,lq.text:=yq_dt.Value -sg_dt.Value ;把DT的显示改为时间就行了