X xianguo Unregistered / Unconfirmed GUEST, unregistred user! 2005-05-06 #3 d1, d2 : TDatetime; d1 := Now; d2 := StrToDate(FormatDatetime('YYYY-MM-DD', d1));
P phynex Unregistered / Unconfirmed GUEST, unregistred user! 2005-07-22 #6 { dt2='1999-9-9 21:05:59' } dt1:=trunc(dt2);//dt1='1999-9-9'