用了这个函数以后
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);

解决方案 »

  1.   

    可能跟操作系统的内码有关?中文系统就显示中文?英文系统就显示英文?呵呵                               ______________http://hthunter.vicp.net/
      

  2.   

    同样的函数在VB里面可以做到的。就是不知道DELPHI怎么做到。
      

  3.   

    VB里面可以做到的。就是DELPHI里面不知道怎么做。VB不用修改操作系统的。大家都是在中文版本下面开发 。
      

  4.   

    你自已再判断啦!
    反正就那么十二个月case就行啦!
      

  5.   

    简单的话就用DecodeDateTime和Format函数