用了这个函数以后
Form1.Caption := FormatDateTime('"The meeting is on " dddd, mmmm d, yyyy, " at " hh:mm AM/PM', Now + 0.125);
得到的结果是
The meeting is on 星期三, 四月 21, 2004, at 11:03 PM
中间的 星期三 和 月份 想转换成英文的怎么转化啊。
就是以下面的格式显示
The meeting is on Wednesday, February 15, 1995 at 2:30 PM."我看帮助里面也是这样的函数的例子显示的是英文的。The meeting is on Wednesday, February 15, 1995 at 2:30 PM."S := FormatDateTime('"The meeting is on " dddd, mmmm d, yyyy, " at " hh:mm AM/PM', Now + 0.125);
Form1.Caption := FormatDateTime('"The meeting is on " dddd, mmmm d, yyyy, " at " hh:mm AM/PM', Now + 0.125);
得到的结果是
The meeting is on 星期三, 四月 21, 2004, at 11:03 PM
中间的 星期三 和 月份 想转换成英文的怎么转化啊。
就是以下面的格式显示
The meeting is on Wednesday, February 15, 1995 at 2:30 PM."我看帮助里面也是这样的函数的例子显示的是英文的。The meeting is on Wednesday, February 15, 1995 at 2:30 PM."S := FormatDateTime('"The meeting is on " dddd, mmmm d, yyyy, " at " hh:mm AM/PM', Now + 0.125);
反正就那么十二个月case就行啦!