The following example assigns 'The meeting is on Wednesday, February 15, 1995 at 10:30 AM' to the string variable S. S := FormatDateTime('"The meeting is on " dddd, mmmm d, yyyy, " at " hh:mm AM/PM', StrToDateTime('2/15/95 10:30am')); 大家测试一下,delphi的FormatDateTime function的example代码就是通不过的
大家测试一下,delphi的FormatDateTime function的example代码就是通不过的