W wbing Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-30 #1 请问,怎么在delphi中获得日期?(日期必须和sqlserver的日期型匹配)
B bes96261 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-30 #4 Query1.FieldByName('DateColumn').AsDatetime:=Date; 或 Query1.FieldByName('DateColumn').AsDatetime:=Now;
Query1.FieldByName('DateColumn').AsDatetime:=Date; 或 Query1.FieldByName('DateColumn').AsDatetime:=Now;
L lyjnew Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-30 #5 试试 var datestr:string; begin datestr:=datetimetostr(now); showmessage(datestr); end;