J joyzw Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-15 #1 delphi中有没有取得日期DATE的年、月和日的函数?谢谢各位。一定送分!
Z zhtx Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-16 #2 decodedate(date,year,month,day)
W wmsoft Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-16 #4 var s:string; year,month,day:string; begin s:=datetostr(date); year:=copy(s,1,4); month:=copy(s,6,2); day:=copy(s,9,2); end;
var s:string; year,month,day:string; begin s:=datetostr(date); year:=copy(s,1,4); month:=copy(s,6,2); day:=copy(s,9,2); end;
Q QiuXiaoFeng Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-16 #5 procedure DecodeDate(Date: TDateTime; var Year, Month, Day: Word);
L liuyang Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-16 #7 decodedate(date,year,month,day)
A askyer Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-17 #8 year:=copy(datetostr(date),1,4); month:=copy(datetostr(date),6,2); day:=copy(datetostr(date),9,2);
L limous Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-17 #9 kao,怪不得5415大骂特骂。这种问题。不如以前回答了多少遍了。多少参考资料都有
R rainxy2002 Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-18 #10 year:=formatdatetime('YYYY',date); Month:=Formatdatetime('MM',date); Day:=Formatdatetime('DD',date); Hour:=Formatdatetime('HH',date); Min:=Formatdatetime('ss',date); ....
year:=formatdatetime('YYYY',date); Month:=Formatdatetime('MM',date); Day:=Formatdatetime('DD',date); Hour:=Formatdatetime('HH',date); Min:=Formatdatetime('ss',date); ....