S scy_fjqz Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-06 #1 一般delphi中now默认的结果是如:00-9-12 可是我想得到20000912,如何简单取出年月日, 请教,不胜感激!
E Expert Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-06 #4 FormatDateTime('yyyymmdd',now)
Z z_cd Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-06 #5 FormatDateTime('yyyymmdd', Now)
Y ypy Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-06 #6 S := FormatDateTime('"The meeting is on " dddd, mmmm d, yyyy, " at " hh:mm AM/PM', StrToDateTime('2/15/95 10:30am'));
S := FormatDateTime('"The meeting is on " dddd, mmmm d, yyyy, " at " hh:mm AM/PM', StrToDateTime('2/15/95 10:30am'));